Skip to content

Commit

Permalink
ci: Update publish.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
lasuillard committed Nov 24, 2023
1 parent 4b55dcc commit 2d8d341
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Publish Package to GitHub Packages
name: Publish to GitHub Packages
on:
release:
types: [published]
workflow_dispatch:

permissions: read-all

Expand Down Expand Up @@ -36,5 +37,5 @@ jobs:

- name: Publish to NPM
env:
NODE_AUTH_TOKEN: ${{ github.token }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm publish

0 comments on commit 2d8d341

Please sign in to comment.