2015-12-27
Use github webhooks to automatically update hexo post

I used dropbox to sync my blog posts so that I can write my blog anywhere, instead of logging on to my vps. But dropbox’s instant sync makes it hard to control post event. Github is a great version control tool, if server side can automatically pull changed posts when pushing events happened on other device, then the github push event is kind of like posting your blogs to remote server. This should be a better way to using hexo. Luckily github’s webhooks service makes this possible to implement.

Read More