Skip to content

Commit 7c9cc8c

Browse files
committed
add permissions
1 parent 508c431 commit 7c9cc8c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy_pages.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,14 @@ jobs:
4141

4242
# Deploy job
4343
deploy:
44+
needs: build
45+
permissions:
46+
pages: write # to deploy to Pages
47+
id-token: write # to verify the deployment originates from an appropriate source
4448
environment:
4549
name: github-pages
4650
url: ${{ steps.deployment.outputs.page_url }}
4751
runs-on: ubuntu-latest
48-
needs: build
4952
steps:
5053
- name: Deploy to GitHub Pages
5154
id: deployment

0 commit comments

Comments
 (0)