Skip to content

Commit 2d5e8bb

Browse files
author
Mona Al Fouani
committed
Fix deploy-pages: add pages:write and id-token permissions
1 parent a9ac88a commit 2d5e8bb

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: CI/CD Pipeline
22

33
permissions:
4-
contents: write # for actions like checkout
5-
id-token: write # required by deploy-pages@v4
4+
contents: write # for checkout
5+
pages: write # for deploying to GitHub Pages
6+
id-token: write # required by deploy-pages@v4
67

78
on:
89
push:

0 commit comments

Comments
 (0)