Start server Docusaurus
-
npm start
Starts the development server. -
npm run build
Bundles your website into static files for production. -
npm run serve
Serves the built website locally. -
npm run deploy
Publishes the website to GitHub pages. -
For detail using :
GIT_USER=[username] DEPLOYMENT_BRANCH=gh-pages npm run deploy
-
or using SSH :
USE_SSH=true DEPLOYMENT_BRANCH=gh-pages npm run deploy
More detail go to Docusaurus Docs