diff --git a/webhook.md b/webhook.md index 932364d..43b1966 100644 --- a/webhook.md +++ b/webhook.md @@ -2,7 +2,7 @@ - Setup gitea webhook to trigger jenkins build - [Tutorial](https://wiki.gcube-system.org/gcube/Gitea/Jenkins:_Setting_up_Webhooks) -- Update `docker-compose.yml` host name +- Update `docker-compose.yml` host name (Gitea & Jenkins) ```yml ... services: @@ -12,6 +12,12 @@ extra_hosts: - "dev.mitech.com.sg:172.16.16.2" ``` +- Update Gitea server app.ini. [Reference](https://nixing.mx/posts/configure-gitea-webhooks.html) +```ini + +[webhook] +ALLOWED_HOST_LIST = * +``` ## Steps 1. Add webhook trigger to Gitea Server