Skip to content

Commit

Permalink
chore(ci): grant contents permission in docs publishing workflow (#1121)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
  • Loading branch information
danielpacak committed Apr 8, 2022
1 parent 4b206c2 commit 6abccd0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish-docs.yaml
Expand Up @@ -17,14 +17,16 @@ jobs:
deploy:
name: Deploy documentation
runs-on: ubuntu-20.04
permissions:
contents: write
steps:
- name: Checkout main
uses: actions/checkout@v3
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
with:
ref: ${{ github.event.inputs.ref }}
fetch-depth: 0
persist-credentials: true
- uses: actions/setup-python@9c644ca2ab8e57ea0a487b5ec2f8290740378bfd
- uses: actions/setup-python@21c0493ecfd34b1217f0a90ec19a327f3cc0a048
with:
python-version: 3.x
- run: |
Expand Down

0 comments on commit 6abccd0

Please sign in to comment.