Start server Docusaurus
-
npm startStarts the development server. -
npm run buildBundles your website into static files for production. -
npm run serveServes the built website locally. -
npm run deployPublishes 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