Skip to content

Commit 8304fe6

Browse files
committed
fix: update GitHub Actions workflow to deploy from 'master' branch instead of 'main'
1 parent 823afa5 commit 8304fe6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ jobs:
3434
exit 1
3535
fi
3636
37-
- name: Deploy main to root
38-
if: steps.vars.outputs.slug == 'main'
37+
- name: Deploy master to root
38+
if: steps.vars.outputs.slug == 'master'
3939
uses: JamesIves/github-pages-deploy-action@v4
4040
with:
4141
token: ${{ secrets.GITHUB_TOKEN }}
@@ -44,7 +44,7 @@ jobs:
4444
clean: false
4545

4646
- name: Deploy branch to subfolder
47-
if: steps.vars.outputs.slug != 'main'
47+
if: steps.vars.outputs.slug != 'master'
4848
uses: JamesIves/github-pages-deploy-action@v4
4949
with:
5050
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)