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:
commit
132fe9a4fa
1 changed files with 1 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue