From e9b0af78448fa7af39c86c794a38fc54d09c4566 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Mon, 1 Jul 2024 16:21:56 +0200 Subject: [PATCH] Adjust docs publish workflow. (#2155) (cherry picked from commit 420418c18228489ba620a75be9605e599280a736) --- .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 e826089243a..d2e9b27f3af 100644 --- a/.github/workflows/docs-push.yml +++ b/.github/workflows/docs-push.yml @@ -27,10 +27,13 @@ jobs: if: github.repository == 'ansible-collections/amazon.aws' 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 }}