Skip to content

Commit 6c3f539

Browse files
Xevifbaldi6
authored andcommitted
fix: deployment to publish built package and use secret token (#5)
1 parent 415bd58 commit 6c3f539

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ jobs:
2525
run: npm run package
2626
- name: Publish
2727
if: ${{ github.ref == 'refs/heads/main' }}
28-
run: npm publish --access restricted
28+
run: cd ./build/package && npm publish --access restricted
2929
env:
30-
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
NPM_TOKEN: ${{ secrets.TOKEN }}

0 commit comments

Comments
 (0)