Skip to content

Commit 4d35f8e

Browse files
committed
[CI] Fix KDoc write permissions
1 parent a47efae commit 4d35f8e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build-kdoc.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ name: Build KDoc
22
on:
33
push:
44
branches: [main]
5+
6+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
512
jobs:
613
build:
714
name: Build and publish KDoc
@@ -33,4 +40,4 @@ jobs:
3340
steps:
3441
- name: Deploy to GitHub Pages
3542
id: deployment
36-
uses: actions/deploy-pages@v4
43+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)