Skip to content

Commit 0003ad2

Browse files
committed
ci: Add contents permission to publish-docs
Without this permissions the job can't publish GitHub Pages. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent eb1a36e commit 0003ad2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ jobs:
103103
needs: ["test", "build-dist"]
104104
if: github.event_name == 'push'
105105
runs-on: ubuntu-20.04
106+
permissions:
107+
contents: write
106108
steps:
107109
- name: Calculate and check version
108110
id: mike-metadata

0 commit comments

Comments
 (0)