Skip to content

Commit

Permalink
renamed the token
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmuhtasimfuadfahim committed Jun 10, 2024
1 parent 9f492a7 commit 3cddefc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
contents: write # Ensure the Actions bot has write permission to the repository

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -32,7 +35,7 @@ jobs:
git commit -m 'ci: bump version'
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.SECURITY_TOKEN }}

- name: Publish to npm
run: npm publish
Expand Down

0 comments on commit 3cddefc

Please sign in to comment.