diff --git a/pelican/tools/templates/fabfile.py.in b/pelican/tools/templates/fabfile.py.in index 18131d5f..676f0e3e 100644 --- a/pelican/tools/templates/fabfile.py.in +++ b/pelican/tools/templates/fabfile.py.in @@ -74,6 +74,10 @@ def cf_upload(): '-K {cloudfiles_api_key} ' 'upload -c {cloudfiles_container} .'.format(**env)) +def ghp(): + local('ghp-import -b master {deploy_path} -m "site udpated"'.format(**env)) + local('git push origin master') + @hosts(production) def publish(): """Publish to production via rsync"""