Skip to content

Commit

Permalink
only deploy when PR's are merged
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhonas committed Aug 9, 2023
1 parent 88b6d2b commit 0b5c33c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
config: baseUrl=http://localhost:4173/${{ github.event.repository.name }}

deploy:
needs: [lint,test]
if: github.event.pull_request.merged == true
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit 0b5c33c

Please sign in to comment.