Skip to content

Commit 25f9042

Browse files
committed
Fix permissions
1 parent a7a620b commit 25f9042

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/mk_docs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ on:
1212

1313
jobs:
1414
build:
15+
# Add "id-token" with the intended permissions.
16+
permissions:
17+
contents: 'read'
18+
id-token: 'write'
19+
1520
runs-on: ubuntu-latest
1621

1722
steps:
@@ -32,5 +37,5 @@ jobs:
3237
- name: Deploy
3338
uses: peaceiris/actions-gh-pages@v4
3439
with:
35-
github_token: ${{ secrets.GITHUB_TOKEN }}
40+
personal_token: ${{ secrets.PAT_TOKEN }}
3641
publish_dir: ./_site

0 commit comments

Comments
 (0)