2018-03-07 22:26:10 +01:00
|
|
|
Receive Gogs notifications in Zulip!
|
2017-06-05 01:09:01 +02:00
|
|
|
|
2018-03-07 22:26:10 +01:00
|
|
|
1. {!create-stream.md!}
|
2017-06-05 01:09:01 +02:00
|
|
|
|
2022-06-26 02:38:55 +02:00
|
|
|
1. {!create-bot-construct-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)
|