Skip to content

Commit

Permalink
feat: fix token
Browse files Browse the repository at this point in the history
  • Loading branch information
scott45 committed Dec 2, 2024
1 parent 7f10f14 commit 8a24c83
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
build-and-publish:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
permissions:
packages: write
contents: read
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Version bumping
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
run: |
commit_message=$(git log -1 --pretty=%B)
echo "Commit message: $commit_message"
Expand All @@ -59,15 +59,15 @@ jobs:
- name: Install dependencies
run: npm ci
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'

- name: Build library
run: npm run build

- name: Publish package
run: npm publish
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
NODE_AUTH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'

- name: Capture Version
Expand Down

0 comments on commit 8a24c83

Please sign in to comment.