padenot / ouque

a very simple thing to rebuild a hugo blog when a push happens on github

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ouque

Execute a command on a github webhook event

Configuration

  • Configure GitHub to ping particular locations called /app1, /app2, etc.
  • Write a config file called config.json that has the following structure:
{
  "/app1": {
    "secret": "xxxxxxxxxxx",
    "script": "script_to_run_for_app1.sh"
  },
  "/app2": {
    "secret": "yyyyyyyyyyy",
    "script": "script_to_run_for_app2.sh"
  }
}

License

MIT

About

a very simple thing to rebuild a hugo blog when a push happens on github

License:ISC License


Languages

Language:JavaScript 84.5%Language:Shell 15.5%