Skip to content

Commit

Permalink
ci: fix deploy condition event
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor committed May 21, 2021
1 parent 56e7414 commit 096de38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: [ fmt, lin, docker, win ]
if: github.event_name == 'push' && github.event.created == 'true'
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
name: '🚀 Deploy'
steps:

Expand Down

0 comments on commit 096de38

Please sign in to comment.