Skip to content

Commit c34b299

Browse files
austincekeithamus
andauthored
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 <[email protected]>
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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: coverallsapp/[email protected]
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)