Skip to content

Commit

Permalink
build: update webhooks docs URL (#610)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 authored Mar 7, 2022
1 parent cd6ab23 commit d1f6a04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/check-or-update-webhooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ export const checkOrUpdateWebhooks = async ({

const [baseUrl, folderName] = ghe
? [
`https://docs.github.com/en/enterprise-server@${ghe}/developers/webhooks-and-events/webhook-events-and-payloads`,
`https://docs.github.com/en/enterprise-server@${ghe}/developers/webhooks-and-events/webhooks/webhook-events-and-payloads`,
`ghes-${ghe.replace(".", "")}`,
]
: githubAE
? [
"https://docs.github.com/en/github-ae@latest/developers/webhooks-and-events/webhook-events-and-payloads",
"https://docs.github.com/en/github-ae@latest/developers/webhooks-and-events/webhooks/webhook-events-and-payloads",
"github.ae",
]
: [
"https://docs.github.com/en/free-pro-team@latest/developers/webhooks-and-events/webhook-events-and-payloads",
"https://docs.github.com/en/free-pro-team@latest/developers/webhooks-and-events/webhooks/webhook-events-and-payloads",
"api.github.com",
];

Expand Down

0 comments on commit d1f6a04

Please # to comment.