Skip to content

Commit

Permalink
Try contents: write.
Browse files Browse the repository at this point in the history
  • Loading branch information
lovettchris committed Mar 22, 2024
1 parent 69cd5ab commit 897b9aa
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/mkdocs-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions:
contents: read
pages: write

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
Expand All @@ -37,5 +33,8 @@ jobs:
- name: MkDocs build
run: mkdocs build

deploy:
- name: MkDocs deploy
run: mkdocs gh-deploy --force
permissions:
contents: write

0 comments on commit 897b9aa

Please sign in to comment.