From 897b9aafd10b8a42fa60012db4ac2c50bc6215fd Mon Sep 17 00:00:00 2001 From: Chris Lovett Date: Thu, 21 Mar 2024 20:58:04 -0700 Subject: [PATCH] Try contents: write. --- .github/workflows/mkdocs-publish.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/mkdocs-publish.yml b/.github/workflows/mkdocs-publish.yml index 6ff294f5..d4191350 100644 --- a/.github/workflows/mkdocs-publish.yml +++ b/.github/workflows/mkdocs-publish.yml @@ -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" @@ -37,5 +33,8 @@ jobs: - name: MkDocs build run: mkdocs build + deploy: - name: MkDocs deploy run: mkdocs gh-deploy --force + permissions: + contents: write \ No newline at end of file