aboutsummaryrefslogtreecommitdiff
path: root/docs/maintainers/vcpkg_from_github.md
diff options
context:
space:
mode:
authorJackBoosY <yuzaiyang@beyondsoft.com>2020-01-13 23:55:59 -0800
committerJackBoosY <yuzaiyang@beyondsoft.com>2020-01-13 23:55:59 -0800
commit2514481b42ebdeec28649582fc666955cf206c84 (patch)
tree60c9809a5c3c8adbad240a40b1088a6f8e42c019 /docs/maintainers/vcpkg_from_github.md
parentb751326c91c9a307aaf5e340b61ab9f2d1ad45a4 (diff)
parent28eee51adb36f2165be846e77ef7b3ee5b3f8789 (diff)
downloadvcpkg-2514481b42ebdeec28649582fc666955cf206c84.tar.gz
vcpkg-2514481b42ebdeec28649582fc666955cf206c84.zip
Merge branch 'master' of https://github.com/Microsoft/vcpkg into dev/jack/upgrade_libi
Diffstat (limited to 'docs/maintainers/vcpkg_from_github.md')
-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.