Skip to content

Commit

Permalink
chore: remove token from publish action (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtjones404 committed Mar 28, 2023
1 parent 28b9d57 commit 528d080
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "publish to npm"
name: publish to npm
on: workflow_dispatch
jobs:
main:
Expand All @@ -7,7 +7,6 @@ jobs:
- name: ⬇️ Checkout repo
uses: actions/checkout@v2
with:
token: ${{ secrets.ACCESS_TOKEN }}
fetch-depth: 0

- name: ⎔ Setup node
Expand All @@ -26,7 +25,7 @@ jobs:
run: |
git config --global user.email ${{ github.actor }}@users.noreply.github.com
git config --global user.name ${{ github.actor }}
- name: ▶️ Run release
- name: Publish to npm
run: npm run release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 528d080

Please sign in to comment.