Skip to content

Commit

Permalink
Only trigger web build from releases on master
Browse files Browse the repository at this point in the history
Should fix the website deploying from every PR
  • Loading branch information
LucasPickering committed Nov 3, 2024
1 parent d34ba59 commit 8df1a4f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ on:
workflows: ["Release"]
types:
- completed
# Every PR runs the first step of the Release workflow. Without this branch
# filter, that workflow run would trigger the website release on every merge.
# Instead, we only want to trigger when a release is actually cut.
branches: [master]

# Run manually
workflow_dispatch:
Expand Down

0 comments on commit 8df1a4f

Please sign in to comment.