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 be2dbf5 + 238af33 commit 714c1adCopy full SHA for 714c1ad
.github/workflows/npm-publish.yml
@@ -2,7 +2,7 @@ name: Publish release
2
3
on:
4
release:
5
- types: [created]
+ types: [published]
6
7
jobs:
8
publish-npm:
@@ -15,5 +15,5 @@ jobs:
15
registry-url: https://registry.npmjs.org/
16
- run: npm run publish
17
env:
18
- RELEASE: ${GITHUB_REF#refs/heads/release/}
+ RELEASE: ${{github.event.release.name}}
19
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
0 commit comments