Skip to content

Commit 211131a

Browse files
committed
chore: add permission to website job
1 parent ec73361 commit 211131a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/website.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,15 @@ jobs:
5353

5454
# Deployment job
5555
deploy:
56+
name: Deploy
57+
needs: build
58+
permissions:
59+
pages: write # to deploy to Pages
60+
id-token: write # to verify the deployment originates from an appropriate source
5661
environment:
5762
name: github-pages
5863
url: ${{ steps.deployment.outputs.page_url }}
59-
needs: build
6064
runs-on: ubuntu-latest
61-
name: Deploy
6265
steps:
6366
- name: Deploy to GitHub Pages
6467
id: deployment

0 commit comments

Comments
 (0)