Delete 'git push origin' and use 'ghp-import -p', push option

This commit is contained in:
Jangsea Park 2016-03-03 15:11:58 +09:00
commit 23ab0f1ae1

View file

@ -90,5 +90,4 @@ def publish():
def gh_pages():
"""Publish to GitHub Pages"""
rebuild()
local("ghp-import -b {github_pages_branch} {deploy_path}".format(**env))
local("git push origin {github_pages_branch}".format(**env))
local("ghp-import -b {github_pages_branch} {deploy_path} -p".format(**env))