Skip to content

Commit

Permalink
ci: deploy to github pages on pushes to main
Browse files Browse the repository at this point in the history
  • Loading branch information
avivace authored Jan 16, 2025
1 parent 1f8a1d5 commit c0b7c9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ jobs:

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

0 comments on commit c0b7c9c

Please sign in to comment.