Skip to content

Commit

Permalink
Merge pull request #35 from krakenjs/chore/remove-token
Browse files Browse the repository at this point in the history
chore: remove token from publish action
  • Loading branch information
dtjones404 authored Mar 21, 2023
2 parents ef613ca + d7d154a commit f1e15b3
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 f1e15b3

Please sign in to comment.