diff --git a/docs/en/next/publishing.html b/docs/en/next/publishing.html index 2bf3698e8f..c491a4f0c6 100644 --- a/docs/en/next/publishing.html +++ b/docs/en/next/publishing.html @@ -165,11 +165,15 @@

To run the script directly from the command-line, you can use the following, filling in the parameter values as appropriate.

+

Bash

GIT_USER=<GIT_USER> \
   CURRENT_BRANCH=master \
   USE_SSH=true \
   yarn run publish-gh-pages # or `npm run publish-gh-pages`
 
+

Windows

+
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:

@@ -343,7 +347,7 @@ e.g.

Alter your siteConfig.js to add a property 'githubHost' which represents the GitHub Enterprise hostname. Alternatively, set an environment variable GITHUB_HOST when executing the publish command.

-
Last updated on 2019-10-12 by Yangshun Tay
Creating your siteDocker