commit 74f979c16f2b0cc3f2fe1b9e682a869241642df0
parent 7b1b16a63982fb7ed772ee7f482c77d9152164dd
Author: MTRNord <mtrnord1@gmail.com>
Date: Fri, 29 Mar 2024 19:16:25 +0100
Fix base branch also in the if case
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml
@@ -28,7 +28,7 @@ jobs:
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
- if: github.ref == 'refs/heads/master'
+ if: github.ref == 'refs/heads/main'
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.