marcoarment / secondcrack

A static-file Markdown blogging engine.

Home Page:http://www.marco.org/secondcrack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feature: github pages hook?

svandragt opened this issue · comments

Was wondering if it is already possible to use github pages instead of dropbox sync so that after updating the pages it can automatically push the changes to the github pages page?

I think you can just add a line after line 39 in update.sh that pushes the changes. The php line updates the site, so if you then cd and git push, I guess it should work. Remember to cd back again (maybe use pushd/popd?)