1
0
Fork 0
mirror of https://github.com/NixOS/hydra.git synced 2024-10-18 17:02:28 -04:00
hydra/doc/manual/src/webhooks.md
2021-10-30 09:42:32 +02:00

589 B

Webhooks

Hydra can be notified by github's webhook to trigger a new evaluation when a jobset has a github repo in its input. To set up a github webhook go to https://github.com/<yourhandle>/<yourrepo>/settings and in the Webhooks tab click on Add webhook.

  • In Payload URL fill in https://<your-hydra-domain>/api/push-github.
  • In Content type switch to application/json.
  • The Secret field can stay empty.
  • For Which events would you like to trigger this webhook? keep the default option for events on Just the push event..

Then add the hook with Add webhook.