Skip to content

Commit c34b299

Browse files
austincekeithamus
andauthoredFeb 24, 2021
ci: correctly template github event in if condition for release (#283)
* ci: correctly template github event in if condition for release * add comment for NPM token name Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>
1 parent 4a196eb commit c34b299

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: coverallsapp/github-action@v1.0.1
2929
with:
3030
github-token: ${{ secrets.github_token }}
31-
31+
3232

3333
publish-npm:
3434
needs: build
@@ -40,7 +40,7 @@ jobs:
4040
node-version: 12
4141
registry-url: https://registry.npmjs.org/
4242
- run: npm run release
43-
if: github.event == 'push'
43+
if: ${{ github.event == 'push' }}
4444
env:
45-
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
45+
NPM_TOKEN: ${{secrets.NPM_TOKEN}} # f674......69f0
4646
GITHUB_TOKEN: ${{secrets.github_token}}

0 commit comments

Comments
 (0)
Please sign in to comment.