Skip to content

Commit

Permalink
Fix permissions for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
dalito committed Feb 8, 2025
1 parent 418ee0b commit 2b5420f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
contents: read # to let mkdocs write the new docs
contents: write # to let mkdocs write the new docs
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

Expand All @@ -22,7 +22,7 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
persist-credentials: false
# persist-credentials: false

- name: Configure Git
run: |
Expand Down

0 comments on commit 2b5420f

Please sign in to comment.