integration-docs: Update Gogs for new doc format.

Part of #29592.
This commit is contained in:
PieterCK
2024-07-04 14:52:05 +07:00
committed by Tim Abbott
parent 98f44262df
commit 58b32a09a8

View File

@@ -1,21 +1,35 @@
# Zulip Gogs integration
Receive Gogs notifications in Zulip! Receive Gogs notifications in Zulip!
{start_tabs}
1. {!create-channel.md!} 1. {!create-channel.md!}
1. {!create-an-incoming-webhook.md!} 1. {!create-an-incoming-webhook.md!}
1. {!generate-integration-url.md!} 1. {!generate-webhook-url-basic.md!}
{!git-webhook-url-with-branches.md!}
1. Go to your repository on Gogs and click on **Settings**. Select 1. Go to your repository on Gogs and click on **Settings**. Select
**Webhooks** on the left sidebar, and click **Add Webhook**. **Webhooks** on the left sidebar, and click **Add Webhook**.
Select **Gogs**. Select **Gogs**.
1. Set **Payload URL** to the URL constructed above. Set **Content type** 1. Set **Payload URL** to the URL generated above. Set **Content type**
to `application/json`. Select the events you would like to receive to `application/json`. Select the [events](#filtering-incoming-events)
notifications for, and click **Add Webhook**. you would like to receive notifications for, and click **Add Webhook**.
{end_tabs}
{!congrats.md!} {!congrats.md!}
![](/static/images/integrations/gogs/001.png) ![](/static/images/integrations/gogs/001.png)
{!event-filtering-additional-feature.md!}
### Configuration options
{!git-branches-additional-feature.md!}
### Related documentation
{!webhooks-url-specification.md!}