Zotonic Github webhook
This is a Zotonic module to:
- Authenticate using GitHub
- trigger a rebuild of your site from the API.
The module exposes an API service at
/api/github/webhook which can
be used to POST a token to which, if the token is correct, triggers a
"git pull", rebuilds Zotonic and flushes the site's depcache.
The token is a shared secret stored in the
configuration value, and can be passed as a POST parameter or in the
Arjan Scherpenisse, 2013
SSH passphrase not supported
Zotonic will not store your passphrase. The solution is to create a separate SSH key for the zotonic user on the server - without pass phrase - and use this key as deploy key on GitHub.