Force gh_pages target to build site using production settings before publishing to GitHub Pages

This commit is contained in:
Joao Moreira 2017-05-24 18:56:43 -05:00
commit edb2be90e5

View file

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