Skip to content

Commit b645fdc

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 a49fa3e commit b645fdc

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
@@ -104,6 +104,8 @@ jobs:
104104
needs: ["test", "build-dist"]
105105
if: github.event_name == 'push'
106106
runs-on: ubuntu-20.04
107+
permissions:
108+
contents: write
107109
steps:
108110
- name: Calculate and check version
109111
id: mike-metadata

0 commit comments

Comments
 (0)