Skip to content

Commit

Permalink
Merge pull request #10696 from bitcoinbrisbane/patch-1
Browse files Browse the repository at this point in the history
Chore:  Update document to GitHub default branch
  • Loading branch information
matrush authored Jun 17, 2022
2 parents 1059fe3 + b68f66f commit 30806f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docusaurus/docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,13 +318,13 @@ The `predeploy` script will run automatically before `deploy` is run.
If you are deploying to a GitHub user page instead of a project page you'll need to make one
additional modification:

1. Tweak your `package.json` scripts to push deployments to **master**:
1. Tweak your `package.json` scripts to push deployments to **main**:

```diff
"scripts": {
"predeploy": "npm run build",
- "deploy": "gh-pages -d build",
+ "deploy": "gh-pages -b master -d build",
+ "deploy": "gh-pages -b main -d build",
```
### Step 3: Deploy the site by running `npm run deploy`
Expand Down

0 comments on commit 30806f7

Please sign in to comment.