Skip to content

Commit 4a1b829

Browse files
committed
only run job on publish tag
1 parent 05480d0 commit 4a1b829

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/npm-publish.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
on: push
22

3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
38
jobs:
4-
publish:
9+
publish-tag:
510
runs-on: ubuntu-latest
611
steps:
712
- uses: actions/checkout@v1

0 commit comments

Comments
 (0)