Skip to content

Commit 3ec613d

Browse files
Update deploy.yml
1 parent 672119b commit 3ec613d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
jobs:
99
build_and_deploy:
1010
runs-on: ubuntu-latest
11+
permissions: # Explicitly set the required permissions for deploying
12+
pages: write
13+
id-token: write
1114
steps:
1215
- name: Checkout code
1316
uses: actions/checkout@v4
@@ -30,4 +33,4 @@ jobs:
3033
- name: Deploy to GitHub Pages
3134
uses: actions/deploy-pages@v4
3235
with:
33-
token: ${{ secrets.GITHUB_TOKEN }}
36+
token: ${{ secrets.GITHUB_TOKEN }} # Ensure GitHub Pages deploy token is set

0 commit comments

Comments
 (0)