We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 26d5427 + d446933 commit ce628adCopy full SHA for ce628ad
1 file changed
.github/workflows/package-publish.yml
@@ -3,8 +3,8 @@ name: Publish Package
3
on:
4
push:
5
branches: [dist]
6
- tags:
7
- - '*'
+ release:
+ types: [published]
8
9
permissions:
10
contents: read
@@ -69,7 +69,7 @@ jobs:
69
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
70
71
- name: Publish ${{ github.ref_name }} to npm registry
72
- if: github.event_name == 'tag'
+ if: github.event_name == 'release'
73
run: |
74
npm config set allow-same-version true
75
npm config set git-tag-version false
0 commit comments