Skip to content

Commit

Permalink
Prevent unnecessary deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
alukach committed Nov 5, 2024
1 parent 324c3cb commit 0f58c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
S3_BUCKET_NAME: test-bucket

deploy-to-dev:
if: ${{ github.event_name == 'pull_request' }}
if: ${{ github.event_name == 'pull_request' && github.event.action != 'closed' }}
uses: "./.github/workflows/deploy.yml"
needs: test
with:
Expand Down

0 comments on commit 0f58c07

Please sign in to comment.