mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 16:59:06 +02:00
docs(v2): add windows batch instructions for publishing to gh pages (#1914)
* docs: add windows batch instructions for publishing to gh pages * docs: add windows batch instructions on the v2 website
This commit is contained in:
parent
a8826b98b3
commit
f853171791
2 changed files with 13 additions and 1 deletions
|
@ -86,8 +86,14 @@ There are two more optional parameters that are set as environment variables:
|
|||
|
||||
Finally, to deploy your site to GitHub Pages, run:
|
||||
|
||||
**Bash**
|
||||
```bash
|
||||
GIT_USER=<GITHUB_USERNAME> yarn run deploy
|
||||
GIT_USER=<GITHUB_USERNAME> yarn deploy
|
||||
```
|
||||
|
||||
**Windows**
|
||||
```batch
|
||||
cmd /C "set GIT_USER=<GITHUB_USERNAME> && yarn deploy"
|
||||
```
|
||||
|
||||
<!--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue