mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-04 09:19:16 +02:00
feat(v2): Added the ability to specify GIT_PASS in deploy command (for CI purposes) (#3694)
* Added the ability to specify GIT_PASS (for CI purposes) * Fixed variable copy issue * Added documentation for GIT_PASS Co-authored-by: Stephen McElhinney <stephen@appstruct.io>
This commit is contained in:
parent
c895136665
commit
9309594da9
2 changed files with 11 additions and 3 deletions
|
@ -88,6 +88,7 @@ Optional parameters, also set as environment variables:
|
|||
| `USE_SSH` | Set to `true` to use SSH instead of the default HTTPS for the connection to the GitHub repo. |
|
||||
| `DEPLOYMENT_BRANCH` | The branch that the website will be deployed to, defaults to `gh-pages` for normal repos and `master` for repository names ending in `github.io`. |
|
||||
| `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) |
|
||||
|
||||
### Deploy
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue