Skip to content

Commit

Permalink
ci: Add contents permission to publish-docs
Browse files Browse the repository at this point in the history
Without this permissions the job can't publish GitHub Pages.

Signed-off-by: Leandro Lucarella <leandro.lucarella@frequenz.com>
  • Loading branch information
llucax committed Nov 4, 2022
1 parent eb1a36e commit 0003ad2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ jobs:
needs: ["test", "build-dist"]
if: github.event_name == 'push'
runs-on: ubuntu-20.04
permissions:
contents: write
steps:
- name: Calculate and check version
id: mike-metadata
Expand Down

0 comments on commit 0003ad2

Please sign in to comment.