1
0
Fork 0
forked from github/pelican

Merge pull request #1923 from Jangsea/use_ghp_import_push_option

Use 'ghp-import -p' to push instead of 'git push origin {branch}'
This commit is contained in:
Justin Mayer 2016-04-03 18:51:23 -07:00
commit 132fe9a4fa

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))