Skip to content

Commit

Permalink
Deploy on tag ppushing only
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Jan 13, 2022
1 parent 02462a9 commit 4eeef6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -93,6 +93,8 @@ jobs:
deploy:
name: Deploy
environment: release
# Run only on pushing a tag
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
needs: [lint, check]
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 4eeef6e

Please sign in to comment.