diff options
author | rubenwardy <rw@rubenwardy.com> | 2020-06-03 16:32:39 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2020-06-03 16:32:39 +0100 |
commit | 7f650a619e8ff1358b39ed7707cc53fff377c31e (patch) | |
tree | b01ff2b97f636c41f0bd196e15cfb35df5f1635b /app/flatpages/help/release_webhooks.md | |
parent | d7977dec84b54d30c62506a899139eebe99ccaa8 (diff) | |
download | cheatdb-7f650a619e8ff1358b39ed7707cc53fff377c31e.tar.xz |
Fix webhook issues, make repo URLs matched case insensitive
Diffstat (limited to 'app/flatpages/help/release_webhooks.md')
-rw-r--r-- | app/flatpages/help/release_webhooks.md | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/app/flatpages/help/release_webhooks.md b/app/flatpages/help/release_webhooks.md index 438226e..b99831b 100644 --- a/app/flatpages/help/release_webhooks.md +++ b/app/flatpages/help/release_webhooks.md @@ -36,9 +36,9 @@ The process is as follows: ### GitHub (manual) -1. Create an API Token by visiting your profile and clicking "API Tokens: Manage". +1. Create a ContentDB API Token by visiting your profile and clicking "API Tokens: Manage". 2. Copy the access token that was generated. -3. Go to the repository's settings > Webhooks > Add Webhook. +3. Go to the GitLab repository's settings > Webhooks > Add Webhook. 4. Set the payload URL to `https://content.minetest.net/github/webhook/` 5. Set the content type to JSON. 6. Set the secret to the access token that you copied. @@ -46,18 +46,20 @@ The process is as follows: * If you want a rolling release, choose "just the push event". * Or if you want a stable release cycle based on tags, choose "Let me select" > Branch or tag creation. +8. Create. ### GitLab (manual) -1. Create an API Token by visiting your profile and clicking "API Tokens: Manage". +1. Create a ContentDB API Token by visiting your profile and clicking "API Tokens: Manage". 2. Copy the access token that was generated. -3. Go to the repository's settings > Integrations. +3. Go to the GitLab repository's settings > Webhooks. 4. Set the URL to `https://content.minetest.net/gitlab/webhook/` -6. Set the secret token to the access token that you copied. +6. Set the secret token to the ContentDB access token that you copied. 7. Set the events * If you want a rolling release, choose "Push events". * Or if you want a stable release cycle based on tags, choose "Tag push events". +8. Add webhook. ## Configuring |