From 4e9ff9dc93bcd1ede5ace6db17718fccaf85afb7 Mon Sep 17 00:00:00 2001 From: Pete Schuster Date: Mon, 25 Jan 2021 14:38:11 -0500 Subject: [PATCH] Updates master to main for gh-pages deploy GH updates their default branch from "master" to "main," these docs should reflect that as well. --- docusaurus/docs/deployment.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docusaurus/docs/deployment.md b/docusaurus/docs/deployment.md index 201ce21cd76..f3dad8688ee 100644 --- a/docusaurus/docs/deployment.md +++ b/docusaurus/docs/deployment.md @@ -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`