Skip to content

Commit 51f8447

Browse files
authored
Update deploy.yml
Give proper premissions
1 parent 0103979 commit 51f8447

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ permissions:
77
packages: write
88
deployments: write
99
pages: write
10+
id-token: write
1011
jobs:
1112
build:
1213
strategy:
@@ -141,6 +142,7 @@ jobs:
141142
permissions:
142143
contents: write
143144
pages: write
145+
id-token: write
144146

145147
steps:
146148
- uses: actions/checkout@v4
@@ -169,5 +171,3 @@ jobs:
169171
- name: Deploy to GitHub Pages
170172
id: deployment
171173
uses: actions/deploy-pages@v4
172-
with:
173-
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)