docs(v2): Update deployment.mdx (#3950)

Include documentation on environment variable needed for Enterprise GitHub Pages deployment.
This commit is contained in:
samhrncir 2020-12-28 04:35:03 -05:00 committed by GitHub
parent b5c46bd1d9
commit b54ec93c61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,6 +92,12 @@ Optional parameters, also set as environment variables:
| `CURRENT_BRANCH` | The branch that contains the latest docs changes that will be deployed. Usually, the branch will be `master`, but it could be any branch (default or otherwise) except for `gh-pages`. If nothing is set for this variable, then the current branch will be used. |
| `GIT_PASS` | Password (or token) of the `git` user (specified by `GIT_USER`). For example, to facilitate non-interactive deployment (e.g. continuous deployment) |
GitHub enterprise installations should work in the same manner as github.com; you only need to set the organization's GitHub Enterprise host as an environment veriable:
| Name | Description |
| --- | --- |
| `GITHUB_HOST` | The domain name of your GitHub enterprise site. |
### Deploy
Finally, to deploy your site to GitHub Pages, run: