Skip to content

Commit

Permalink
Fix: Only deploy to GitHub Pages from the default branch of the repos…
Browse files Browse the repository at this point in the history
…itory
  • Loading branch information
cr7pt0gr4ph7 committed Nov 1, 2024
1 parent 47f815d commit 309c83d
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 @@ -82,6 +82,7 @@ jobs:
--verbose
deploy:
name: Deploy
if: github.ref_name == github.event.repository.default_branch
runs-on: ubuntu-latest
needs: flatter
permissions:
Expand Down

0 comments on commit 309c83d

Please sign in to comment.