Skip to content

Commit af728d0

Browse files
authored
Add permissions missing from CICD Deploy
1 parent a460d50 commit af728d0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/pages.yml

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

6565
# Deployment job
6666
deploy:
67+
needs: build
68+
permissions:
69+
pages: write # to deploy to Pages
70+
id-token: write # to verify the deployment originates from an appropriate source
6771
environment:
6872
name: github-pages
6973
url: ${{ steps.deployment.outputs.page_url }}
7074
runs-on: ubuntu-latest
71-
needs: build
7275
steps:
7376
- name: Deploy to GitHub Pages
7477
id: deployment

0 commit comments

Comments
 (0)