aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2019-11-22 15:13:08 -0800
committerGitHub <noreply@github.com>2019-11-22 15:13:08 -0800
commitae74e0bfd37c3a0a0a096acfc0cf0851582b569d (patch)
tree93df24e7f9f9779865fac22d82628f195fba1e3f /docs
parent9607704486e003aaf882334338f312d73a2f6477 (diff)
parent45bc9e984816cf69f153376f56c13d712a39b06c (diff)
downloadvcpkg-ae74e0bfd37c3a0a0a096acfc0cf0851582b569d.tar.gz
vcpkg-ae74e0bfd37c3a0a0a096acfc0cf0851582b569d.zip
Merge pull request #5719 from donny-dont/github-url
[vcpkg_from_github] Allow targeting Github Enterprise instances
Diffstat (limited to 'docs')
-rw-r--r--docs/maintainers/vcpkg_from_github.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/maintainers/vcpkg_from_github.md b/docs/maintainers/vcpkg_from_github.md
index 8f9731629..18ab5b976 100644
--- a/docs/maintainers/vcpkg_from_github.md
+++ b/docs/maintainers/vcpkg_from_github.md
@@ -11,6 +11,8 @@ vcpkg_from_github(
[SHA512 <45d0d7f8cc350...>]
[HEAD_REF <master>]
[PATCHES <patch1.patch> <patch2.patch>...]
+ [GITHUB_HOST <https://github.com>]
+ [AUTHORIZATION_TOKEN <${SECRET_FROM_FILE}>]
)
```
@@ -45,6 +47,14 @@ A list of patches to be applied to the extracted sources.
Relative paths are based on the port directory.
+### GITHUB_HOST
+A replacement host for enterprise GitHub instances.
+
+This field should contain the scheme, host, and port of the desired URL without a trailing slash.
+
+### AUTHORIZATION_TOKEN
+A token to be passed via the Authorization HTTP header as "token ${AUTHORIZATION_TOKEN}".
+
## Notes:
At least one of `REF` and `HEAD_REF` must be specified, however it is preferable for both to be present.