Skip to content

Commit d14d64c

Browse files
authored
build: set permissions to deploy GH pages (#1724)
### 📝 Description We are using https://github.com/peaceiris/actions-gh-pages which requires `contents: write` permission. We could potentially refactor this to use more generic `actions/upload-pages-artifact` + `actions/deploy-pages` that require more scoped permissions but unsure how much value it gets us. ### 🔗 Related Issues We won't be able to publish new GH pages until this is fixed -> see https://github.com/ExpediaGroup/graphql-kotlin/actions/runs/4427684966/jobs/7765655027#step:6:1258
1 parent eebff81 commit d14d64c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish-latest-docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99

1010
jobs:
1111
publish-docs:
12+
permissions:
13+
contents: write
1214
timeout-minutes: 10
1315
runs-on: ubuntu-latest
1416
if: github.repository == 'ExpediaGroup/graphql-kotlin'

0 commit comments

Comments
 (0)