Skip to content

Commit

Permalink
Only run deploy on main
Browse files Browse the repository at this point in the history
  • Loading branch information
angus-g committed Jun 12, 2024
1 parent d969d77 commit 787e10b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main'
environment:
name: github-pages
steps:
Expand Down

0 comments on commit 787e10b

Please sign in to comment.