diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f666f44..b0d5eb9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,7 +3,7 @@ name: Build on: push: branches: - - master + - main pull_request: workflow_dispatch: # allows to be run manually workflow_call: # when called from another workflow diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c1c000c..2f40686 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,7 +3,7 @@ name: Deploy to GitHub Pages on: push: branches: - - master + - main workflow_dispatch: # allows to be run manually # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages @@ -21,7 +21,7 @@ jobs: build: uses: ./.github/workflows/build.yml deploy: - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' needs: build environment: name: github-pages