2018-03-07 22:26:10 +01:00
|
|
|
Receive Gogs notifications in Zulip!
|
2017-06-05 01:09:01 +02:00
|
|
|
|
2024-05-05 22:30:09 +02:00
|
|
|
1. {!create-channel.md!}
|
2017-06-05 01:09:01 +02:00
|
|
|
|
2023-09-21 02:23:45 +02:00
|
|
|
1. {!create-an-incoming-webhook.md!}
|
|
|
|
|
|
|
|
1. {!generate-integration-url.md!}
|
2017-06-05 01:09:01 +02:00
|
|
|
|
2022-06-27 22:04:03 +02:00
|
|
|
{!git-webhook-url-with-branches.md!}
|
2017-06-05 01:09:01 +02:00
|
|
|
|
2018-03-07 22:26:10 +01:00
|
|
|
1. Go to your repository on Gogs and click on **Settings**. Select
|
|
|
|
**Webhooks** on the left sidebar, and click **Add Webhook**.
|
|
|
|
Select **Gogs**.
|
2017-06-05 01:09:01 +02:00
|
|
|
|
2018-03-07 22:26:10 +01:00
|
|
|
1. Set **Payload URL** to the URL constructed above. Set **Content type**
|
|
|
|
to `application/json`. Select the events you would like to receive
|
|
|
|
notifications for, and click **Add Webhook**.
|
2017-06-05 01:09:01 +02:00
|
|
|
|
|
|
|
{!congrats.md!}
|
|
|
|
|
2018-03-07 22:26:10 +01:00
|
|
|
![](/static/images/integrations/gogs/001.png)
|