|
@@ -173,7 +173,10 @@ post_compilers = {
|
|
# "rsync -rav output/* joe@my.site:/srv/www/site"
|
|
# "rsync -rav output/* joe@my.site:/srv/www/site"
|
|
# And then do a backup, or ping pingomatic.
|
|
# And then do a backup, or ping pingomatic.
|
|
# To do manual deployment, set it to []
|
|
# To do manual deployment, set it to []
|
|
-# DEPLOY_COMMANDS = []
|
|
|
|
|
|
+DEPLOY_COMMANDS = [
|
|
|
|
+ 'git commit-tree -p master -m "updated" source:output | xargs git update-ref refs/heads/master',
|
|
|
|
+ 'git push'
|
|
|
|
+]
|
|
|
|
|
|
# Where the output site should be located
|
|
# Where the output site should be located
|
|
# If you don't use an absolute path, it will be considered as relative
|
|
# If you don't use an absolute path, it will be considered as relative
|