marionettejs / blog

:memo: Blog for Marionettejs.com (hosted on the gh-pages branch)
http://blog.marionettejs.com
4 stars 8 forks source link

Auto deploy #27

Open jdaudier opened 9 years ago

jdaudier commented 9 years ago

https://robots.thoughtbot.com/blog-in-markdown-deploy-with-webhooks https://developer.github.com/webhooks/

Was reading this post and wondering if there's a way we can do something similar where once a new post gets merged to the master branch of the content repository, we respond by kicking off a new deployment.

cd into `public` folder
git add .
git commit -m 'publish <TITLE>' && git push live master:gh-pages