Skip to content

Commit 5e50c21

Browse files
committed
(CI): fix npm publish
1 parent 887a5e1 commit 5e50c21

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/w-deploy-npm.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ on:
66
checkout_ref:
77
type: string
88
required: true
9-
tag_name:
10-
type: string
11-
default: latest
12-
required: false
139
tag:
1410
type: string
1511
required: true
@@ -41,11 +37,10 @@ jobs:
4137
- uses: JS-DevTools/npm-publish@v1
4238
with:
4339
token: ${{ secrets.NPM }}
44-
tag: ${{ github.event.release.tag_name }}
4540
- name: Commit and push
4641
run: |
4742
git add .
48-
git commit -am "🏷️(version) Update boilerplate to version ${{ github.event.release.tag }}"
43+
git commit -am "🏷️(version) Update boilerplate to version ${{ inputs.tag }}"
4944
git push
5045
env:
5146
github-token: ${{ secrets.GITHUB }}

0 commit comments

Comments
 (0)