From cac1570716e2e18454fc6b1203f459b479984788 Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Thu, 19 Oct 2023 17:02:58 +0100 Subject: [PATCH] chore: update deployment branch --- .github/workflows/pages.yaml | 2 +- README.md | 14 +------------- docusaurus.config.js | 2 +- package.json | 1 - 4 files changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml index fa952cd..d42d031 100644 --- a/.github/workflows/pages.yaml +++ b/.github/workflows/pages.yaml @@ -3,7 +3,7 @@ name: Node CI on: push: branches: - - "docusaurus" + - "main" # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: diff --git a/README.md b/README.md index aaba2fa..625b278 100644 --- a/README.md +++ b/README.md @@ -26,16 +26,4 @@ This command generates static content into the `build` directory and can be serv ### Deployment -Using SSH: - -``` -$ USE_SSH=true yarn deploy -``` - -Not using SSH: - -``` -$ GIT_USER= yarn deploy -``` - -If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch. +This is performed by github actions for any changes made in the main branch diff --git a/docusaurus.config.js b/docusaurus.config.js index 2732cf3..79d9f94 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -38,7 +38,7 @@ const config = { // Please change this to your repo. // Remove this to remove the "edit this page" links. editUrl: - "https://github.com/casparcg/casparcg.github.io/tree/docusaurus/", + "https://github.com/casparcg/casparcg.github.io/tree/main/", }, blog: { showReadingTime: true, diff --git a/package.json b/package.json index 241f885..3eb06a6 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,6 @@ "start": "docusaurus start", "build": "docusaurus build", "swizzle": "docusaurus swizzle", - "deploy": "docusaurus deploy", "clear": "docusaurus clear", "serve": "docusaurus serve", "write-translations": "docusaurus write-translations",