Skip to content

Commit

Permalink
CI: only run deploy job on master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
System-Glitch committed Sep 27, 2024
1 parent 424e77a commit 53df86a
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 @@ -49,6 +49,7 @@ jobs:
with:
path: .vitepress/dist
deploy:
if: github.ref == 'refs/heads/master'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit 53df86a

Please sign in to comment.