Skip to content

Commit 4eeef6e

Browse files
committed
Deploy on tag ppushing only
1 parent 02462a9 commit 4eeef6e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ jobs:
9393
deploy:
9494
name: Deploy
9595
environment: release
96+
# Run only on pushing a tag
97+
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
9698
needs: [lint, check]
9799
runs-on: ubuntu-latest
98100
steps:

0 commit comments

Comments
 (0)