Skip to content

Commit 3d8e919

Browse files
authored
ci: Add contents permission to publish-docs (#33)
Without this permissions the job can't publish GitHub Pages.
2 parents a49fa3e + b645fdc commit 3d8e919

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)