Skip to content

Commit 013dc65

Browse files
Update ci.yml
1 parent 87a5d34 commit 013dc65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
deploy:
3838
runs-on: ubuntu-latest
3939
needs: build
40-
if: github.ref_name == startsWith('refs/tags/')
40+
if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'release'
4141
steps:
4242
- name: Check out code
4343
uses: actions/checkout@v2

0 commit comments

Comments
 (0)