diff --git a/docs/115-release.md b/docs/115-release.md index 32f56bd4d..10ae7e288 100644 --- a/docs/115-release.md +++ b/docs/115-release.md @@ -16,11 +16,6 @@ release: github: owner: user name: repo - # endpoint urls for github enterprise. - # Defaults are the github.com URLs. - api_url: github api endpoint - uploads_url: github file uploads url - downloads_url: github download url # If set to true, will not auto-publish the release. # Default is false diff --git a/docs/120-homebrew.md b/docs/120-homebrew.md index 5724c1bde..183cd3dca 100644 --- a/docs/120-homebrew.md +++ b/docs/120-homebrew.md @@ -19,11 +19,6 @@ brew: github: owner: user name: homebrew-tap - # endpoint urls for github enterprise. - # Defaults are the github.com URLs. - api_url: github api endpoint - uploads_url: github file uploads url - downloads_url: github download url # Folder inside the repository to put the formula. # Default is the root folder. diff --git a/docs/150-github-enterprise.md b/docs/150-github-enterprise.md new file mode 100644 index 000000000..9962c3e1f --- /dev/null +++ b/docs/150-github-enterprise.md @@ -0,0 +1,16 @@ +--- +title: GitHub Enterprise Support +--- + +You can use GitHub Enteprise within GoReleaser by providing its URLs in +the `.goreleaer.yml` configuration file: + +```yaml +# .goreleaser.yml +github_urls: + api: api.github.foo.bar + upload: uploads.github.foo.bar + download: github.foo.bar +``` + +If none is set, it will default to the public GitHub's URLs.