Share your code.
Mikser GitHub webhooks
A Mikser plugin for integrating web site generation with GitHub webhooks. It will regenerate your web site when you push to a GitHub repository.
- Inside project folder
npm install --save mikser-github-webhook
- Add the plugin configuration inside
- Add the plugin to the list of mikser plugins inside
plugins: ['github-webhook', â€¦]webhook:url: '/webhook'secret: passwordcommand: git pullbranch: 'master'
url: Url used to expose the webhook. Default:
secret: The key used to hash the payload by GitHub that we verify against, should match what you tell GitHub
command: A system command to execute prior to the generation. The command is executed inside the project folder. Default
branch: Filter events only for a given branch. Note that you have to switch manualy to this branch.