mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Force gh_pages target to build site using production settings before publishing to GitHub Pages
This commit is contained in:
parent
d521e0234d
commit
edb2be90e5
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue