diff --git a/pelican/tools/templates/fabfile.py.in b/pelican/tools/templates/fabfile.py.in index 370b4b78..5481f84f 100644 --- a/pelican/tools/templates/fabfile.py.in +++ b/pelican/tools/templates/fabfile.py.in @@ -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))