Skip to content

Commit

Permalink
Don't deploy if tag is added to commit in PR
Browse files Browse the repository at this point in the history
  • Loading branch information
gkocur committed Jun 22, 2021
1 parent 623c81d commit 2f268a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/bootzooka-scala-ts-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
run: sbt test

deploy:
if: startsWith(github.ref, 'refs/tags/v')
if: github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/v')
needs: [ test ]
runs-on: ubuntu-latest

Expand Down

0 comments on commit 2f268a0

Please sign in to comment.