File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1111 with :
1212 checkout_ref : ${{ github.event.release.target_commitish }}
1313 tag_name : ${{ github.event.release.tag_name }}
14+ secrets :
15+ NPM : ${{ secrets.NPM_TOKEN }}
16+ GITHUB : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1414 default : latest
1515 required : false
1616 secrets :
17- NPM_TOKEN :
17+ NPM :
18+ required : true
19+ GITHUB :
20+ required : true
1821
1922jobs :
2023 publish :
@@ -37,12 +40,12 @@ jobs:
3740 fi
3841 - uses : JS-DevTools/npm-publish@v1
3942 with :
40- token : ${{ secrets.NPM_TOKEN }}
43+ token : ${{ secrets.NPM }}
4144 tag : ${{ github.event.release.tag_name }}
4245 - name : Commit and push
4346 run : |
4447 git add .
4548 git commit -am "🏷️(version) Update boilerplate to version ${{ github.event.release.tag_name }}"
4649 git push
4750 env :
48- github-token : ${{ secrets.GITHUB_TOKEN }}
51+ github-token : ${{ secrets.GITHUB }}
You can’t perform that action at this time.
0 commit comments