Skip to content

Commit e9f5dc2

Browse files
authored
Merge pull request #670 from jeswr/chore/token-cleanup
chore: token cleanup
2 parents 4af628a + baec5c5 commit e9f5dc2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,16 @@ jobs:
4444
needs: test
4545
runs-on: ubuntu-latest
4646
if: github.ref == 'refs/heads/main'
47+
permissions:
48+
contents: write
49+
pages: write
4750
steps:
4851
- uses: actions/download-artifact@v4
4952
with:
5053
name: build
5154
- uses: peaceiris/actions-gh-pages@v3
5255
with:
53-
github_token: ${{ secrets.GITHUB_TOKEN }}
56+
github_token: ${{ github.token }}
5457
publish_dir: .
5558

5659
npm-publish-build:

0 commit comments

Comments
 (0)