Skip to content

Commit

Permalink
Fix ghp-import commandline flag in gh_deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ngash committed May 11, 2015
1 parent f10d52d commit 47ab1c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkdocs/gh_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def gh_deploy(config):
config['site_dir'])
try:
command = ['ghp-import', '-p', config['site_dir']]
extra_options = [('-b', 'remote_branch'), ('-b', 'ghp_message')]
extra_options = [('-b', 'remote_branch'), ('-m', 'ghp_message')]
for cmd_arg, config_option in extra_options:
if config_option in config:
command.extend([cmd_arg, config[config_option]])
Expand Down

0 comments on commit 47ab1c6

Please sign in to comment.