Skip to content

Commit b68f66f

Browse files
Chore: Update document to GitHub default branch
GitHub now users `main` instead of `master` by default.
1 parent 3c02ca7 commit b68f66f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docusaurus/docs/deployment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,13 +318,13 @@ The `predeploy` script will run automatically before `deploy` is run.
318318
If you are deploying to a GitHub user page instead of a project page you'll need to make one
319319
additional modification:
320320

321-
1. Tweak your `package.json` scripts to push deployments to **master**:
321+
1. Tweak your `package.json` scripts to push deployments to **main**:
322322

323323
```diff
324324
"scripts": {
325325
"predeploy": "npm run build",
326326
- "deploy": "gh-pages -d build",
327-
+ "deploy": "gh-pages -b master -d build",
327+
+ "deploy": "gh-pages -b main -d build",
328328
```
329329
330330
### Step 3: Deploy the site by running `npm run deploy`

0 commit comments

Comments
 (0)