From 726573a24de4d773d41d7e37347bf740bea98d7a Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Thu, 1 Dec 2022 14:34:04 +0800 Subject: [PATCH] rename master to main branch --- .github/workflows/actions.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 2f956dc..e493349 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -1,9 +1,9 @@ name: CI on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -27,7 +27,7 @@ jobs: - run: cd js/examples && mkdir ../../app/dist/examples && cp *.html ../../app/dist/examples/ - name: build_app uses: peaceiris/actions-gh-pages@v3 - if: ${{ github.ref == 'refs/heads/master' }} + if: ${{ github.ref == 'refs/heads/main' }} with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./app/dist