diff --git a/pelican/tools/templates/fabfile.py.in b/pelican/tools/templates/fabfile.py.in index 48a1b0d9..7c52f28b 100644 --- a/pelican/tools/templates/fabfile.py.in +++ b/pelican/tools/templates/fabfile.py.in @@ -90,7 +90,7 @@ def publish(): def gh_pages(): """Publish to GitHub Pages""" - rebuild() + preview() local('ghp-import -b {github_pages_branch} ' '-m {commit_message} ' '{deploy_path} -p'.format(**env))