Skip to content

Commit c0b7c9c

Browse files
authored
ci: deploy to github pages on pushes to main
1 parent 1f8a1d5 commit c0b7c9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ jobs:
6161

6262
deploy:
6363
name: Deploy to GitHub pages
64-
# Do not run this unless *pushing* to `master`.
65-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
64+
# Do not run this unless *pushing* to the default branch (`main`).
65+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
6666
environment:
6767
name: github-pages
6868
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)