From 9673858a3715287c40aef9e800c431c7d45c05a2 Mon Sep 17 00:00:00 2001 From: Ian Sutherland Date: Tue, 14 Dec 2021 08:56:03 -0700 Subject: [PATCH] Update CONTRIBUTING.md --- CONTRIBUTING.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4428f5ca2a7..5231b638f4b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -169,9 +169,10 @@ Make sure to test the released version! If you want to be extra careful, you can ## Releasing the Docs 1. Go to the `docusaurus/website` directory -2. Run `npm run build` -3. You'll need an [access token for the GitHub API](https://help.github.com/articles/creating-an-access-token-for-command-line-use/). Save it to this environment variable: `export GITHUB_AUTH="..."` -4. Run `GIT_USER= CURRENT_BRANCH=main USE_SSH=true npm run deploy` +2. Run `npm ci` +3. Run `npm run build` +4. You'll need an [access token for the GitHub API](https://help.github.com/articles/creating-an-access-token-for-command-line-use/). Save it to this environment variable: `export GITHUB_AUTH="..."` +5. Run `GIT_USER= CURRENT_BRANCH=main USE_SSH=true npm run deploy` ---