mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
webhooks/gogs: Update text to conform to doc style guide.
This commit is contained in:
@@ -1,40 +1,19 @@
|
||||
{!create-stream.md!}
|
||||
Receive Gogs notifications in Zulip!
|
||||
|
||||
However, the integration will use the default stream `commits`
|
||||
if no stream is supplied in the hook; you still need to
|
||||
[create the stream](../help/create-a-stream) even if you are
|
||||
using this default.
|
||||
1. {!create-stream.md!}
|
||||
|
||||
{!create-bot-construct-url.md!}
|
||||
1. {!create-bot-construct-url-indented.md!}
|
||||
|
||||
{!git-webhook-url-with-branches.md!}
|
||||
{!git-webhook-url-with-branches-indented.md!}
|
||||
|
||||
Next, go to your repository page and click **Settings**:
|
||||
1. Go to your repository on Gogs and click on **Settings**. Select
|
||||
**Webhooks** on the left sidebar, and click **Add Webhook**.
|
||||
Select **Gogs**.
|
||||
|
||||

|
||||
|
||||
On the **Settings** page, select the **Webhooks** link on the
|
||||
left sidebar:
|
||||
|
||||

|
||||
|
||||
Click the **Add Webhook** button and then select the **Gogs**
|
||||
option from the dropdown that appears.
|
||||
|
||||

|
||||
|
||||
Authorize yourself and configure your webhook.
|
||||
|
||||
In the **Payload URL** field, enter the URL created above.
|
||||
|
||||
Then, set **Content type** to **application/json**.
|
||||
|
||||
Next, select the events that you want to trigger Zulip
|
||||
notifications. After you have selected all the desired events,
|
||||
click the **Add Webhook** button.
|
||||
|
||||

|
||||
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**.
|
||||
|
||||
{!congrats.md!}
|
||||
|
||||

|
||||

|
||||
|
||||
Reference in New Issue
Block a user