Skip to content

Commit b1c7c24

Browse files
authored
Correct Workflow to use master instead of main branch (seanprashad#186)
Fixes seanprashad#185
1 parent 6841ce9 commit b1c7c24

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/github-pages.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: GitHub pages
33
on:
44
push:
55
branches:
6-
- main
6+
- master
77

88
jobs:
99
deploy:
@@ -30,10 +30,7 @@ jobs:
3030

3131
- name: Deploy
3232
uses: peaceiris/actions-gh-pages@v3
33-
# If you're changing the branch from main,
34-
# also change the `main` in `refs/heads/main`
35-
# below accordingly.
36-
if: ${{ github.ref == 'refs/heads/main' }}
33+
if: ${{ github.ref == 'refs/heads/master' }}
3734
with:
3835
github_token: ${{ secrets.GITHUB_TOKEN }}
3936
publish_dir: ./build

0 commit comments

Comments
 (0)