trigger a git commit for static site generator

klml nginx-forum at nginx.us
Wed Aug 8 21:58:33 UTC 2012


I build a small static site generator: just PUT markdown from a textarea
to a git versioned file and post-commit markdown.sh (and little bit
templating) to html for nginx.

The only thing I miss the commit triggerd by nginx after the PUT.

I tried it with shell ect[^1] and even netcat ;) but nothing worked
really nice.

Is there an easy way to commit via nginx?

thx
klml

[^1]: http://forum.nginx.org/read.php?2,181239

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,229477,229477#msg-229477



More information about the nginx mailing list