Skip to content

Commit

Permalink
fix: deployment to publish built package and use secret token (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xevi authored Nov 7, 2022
1 parent fb6a3c2 commit a9f0698
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
run: npm run package
- name: Publish
if: ${{ github.ref == 'refs/heads/main' }}
run: npm publish --access restricted
run: cd ./build/package && npm publish --access restricted
env:
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.TOKEN }}

0 comments on commit a9f0698

Please sign in to comment.