Help: hooks
The "hooks" setting:
The "hooks" setting contains JSON that describes all defined
hooks. The value is an array of objects. Each object describes
a single hook. Example:
{ "type": "after-receive", // type of hook "cmd": "command-to-run", // command to run "seq": 50 // run in this order }