Skip to content

Instantly share code, notes, and snippets.

@TopekoX
Last active May 7, 2022 13:04
Show Gist options
  • Save TopekoX/56dbcb32149492d5c054008d1aff3af2 to your computer and use it in GitHub Desktop.
Save TopekoX/56dbcb32149492d5c054008d1aff3af2 to your computer and use it in GitHub Desktop.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment