From e0e525555d93b229e19ec3b0b3ec37fcaaae858b Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Mon, 8 Jul 2024 05:40:47 +1000 Subject: [PATCH] Fix up doc action workflow permissions (#571) --- .github/workflows/docs-push.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/docs-push.yml b/.github/workflows/docs-push.yml index 736e4db6..f2064e82 100644 --- a/.github/workflows/docs-push.yml +++ b/.github/workflows/docs-push.yml @@ -26,10 +26,13 @@ jobs: if: github.repository == 'ansible-collections/community.windows' permissions: contents: write + pages: write + id-token: write needs: [build-docs] name: Publish Ansible Docs uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-publish-gh-pages.yml@main with: artifact-name: ${{ needs.build-docs.outputs.artifact-name }} + publish-gh-pages-branch: true secrets: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}