Skip to content

Commit

Permalink
provide token with checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
andrenarchy committed Apr 5, 2021
1 parent 219e51d commit d66d471
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.release.target_commitish }}
token: ${{ secrets.GH_RELEASE_TOKEN }}
- name: Setup node
uses: actions/setup-node@v1
with:
Expand All @@ -29,5 +30,3 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}
- run: git push
env:
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}

0 comments on commit d66d471

Please sign in to comment.