From 6d7c3f2c143185a77e3f46d885bf4e489571da97 Mon Sep 17 00:00:00 2001 From: Lars Kappert Date: Mon, 21 Mar 2022 09:49:08 -0300 Subject: [PATCH] Clarify the `github.host` config option (#875) --- docs/github-releases.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/github-releases.md b/docs/github-releases.md index 7bb7ff1b..045ef1ab 100644 --- a/docs/github-releases.md +++ b/docs/github-releases.md @@ -107,6 +107,9 @@ In case the release should not be made public yet, set `github.draft: true`. Use a different host from what would be derived from the Git url (e.g. when using GitHub Enterprise). +By default, the GitHub API host is https://api.github.com. Setting `github.host` to `"private.source.com"` would result +in release-it using https://private.source.com/api/v3. + ## Proxy In case release are done from behind a proxy, set `github.proxy` using a string to a proxy address like