589 B
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 URLfill inhttps://<your-hydra-domain>/api/push-github. - In
Content typeswitch toapplication/json. - The
Secretfield can stay empty. - For
Which events would you like to trigger this webhook?keep the default option for events onJust the push event..
Then add the hook with Add webhook.