Skip to content

Commit 26c7f96

Browse files
committed
Grant Pages permissions and auto-enable in docs deploy workflow
1 parent b43fda7 commit 26c7f96

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010

1111
permissions:
1212
contents: read
13+
pages: write
14+
id-token: write
1315

1416
concurrency:
1517
group: pages
@@ -27,6 +29,8 @@ jobs:
2729
cache: npm
2830
cache-dependency-path: docs/package-lock.json
2931
- uses: actions/configure-pages@v5
32+
with:
33+
enablement: true
3034
- name: Build Docusaurus
3135
working-directory: docs
3236
env:

0 commit comments

Comments
 (0)