mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
docs: update windows deploy command (#2281)
This commit is contained in:
parent
311a1223b5
commit
8d804c662c
|
|
@ -110,7 +110,7 @@ GIT_USER=<GIT_USER> \
|
|||
**Windows**
|
||||
|
||||
```batch
|
||||
cmd /C "set GIT_USER=<GIT_USER> && set CURRENT_BRANCH=master && set USE_SSH=true && yarn run publish-gh-pages"
|
||||
cmd /C "set "GIT_USER=<GIT_USER>" && set CURRENT_BRANCH=master && set USE_SSH=true && yarn run publish-gh-pages"
|
||||
```
|
||||
|
||||
There are also two optional parameters that are set as environment variables:
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ GIT_USER=<GITHUB_USERNAME> yarn deploy
|
|||
**Windows**
|
||||
|
||||
```batch
|
||||
cmd /C "set GIT_USER=<GITHUB_USERNAME> && yarn deploy"
|
||||
cmd /C "set "GIT_USER=<GITHUB_USERNAME>" && yarn deploy"
|
||||
```
|
||||
|
||||
<!--
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ GIT_USER=<GITHUB_USERNAME> yarn deploy
|
|||
**Windows**
|
||||
|
||||
```batch
|
||||
cmd /C "set GIT_USER=<GITHUB_USERNAME> && yarn deploy"
|
||||
cmd /C "set "GIT_USER=<GITHUB_USERNAME>" && yarn deploy"
|
||||
```
|
||||
|
||||
<!--
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ GIT_USER=<GITHUB_USERNAME> yarn deploy
|
|||
**Windows**
|
||||
|
||||
```batch
|
||||
cmd /C "set GIT_USER=<GITHUB_USERNAME> && yarn deploy"
|
||||
cmd /C "set "GIT_USER=<GITHUB_USERNAME>" && yarn deploy"
|
||||
```
|
||||
|
||||
<!--
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ GIT_USER=<GITHUB_USERNAME> yarn deploy
|
|||
**Windows**
|
||||
|
||||
```batch
|
||||
cmd /C "set GIT_USER=<GITHUB_USERNAME> && yarn deploy"
|
||||
cmd /C "set "GIT_USER=<GITHUB_USERNAME>" && yarn deploy"
|
||||
```
|
||||
|
||||
<!--
|
||||
|
|
|
|||
Loading…
Reference in New Issue