diff --git a/.github/workflows/docs-push.yml b/.github/workflows/docs-push.yml index 0acd93200ab..ddf74301479 100644 --- a/.github/workflows/docs-push.yml +++ b/.github/workflows/docs-push.yml @@ -30,10 +30,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 }}