Skip to content

Commit

Permalink
fix publish process?
Browse files Browse the repository at this point in the history
  • Loading branch information
loreanvictor committed Jul 17, 2023
1 parent 68b6393 commit 1efe12c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ jobs:
run: npm run lint

- name: Fix README for NPM
run: sed -i '' '/logo-dark\.svg/d' README.md
run: sed -i '/logo-dark\.svg/d' README.md

- name: Publish
env:
npm_token: ${{ secrets.NPM_AUTH_TOKEN }}
if: ${{ env.npm_token != '' }}
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}

0 comments on commit 1efe12c

Please sign in to comment.