From 7ed3fa378643753b5b46fdd09432f8d18ebf407a Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sat, 29 Jun 2024 17:52:28 +0200 Subject: [PATCH] Adjust docs publish workflow. --- .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 2c7e9f4c757..43381eaa4e5 100644 --- a/.github/workflows/docs-push.yml +++ b/.github/workflows/docs-push.yml @@ -31,10 +31,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 }}