Skip to content

Commit cf17874

Browse files
Adjust docs publish workflow. (#2112) (#2117)
(cherry picked from commit 3054d94) Co-authored-by: Felix Fontein <[email protected]>
1 parent dd0869e commit cf17874

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/docs-push.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,13 @@ jobs:
3131
if: github.repository == 'ansible-collections/community.aws'
3232
permissions:
3333
contents: write
34+
pages: write
35+
id-token: write
3436
needs: [build-docs]
3537
name: Publish Ansible Docs
3638
uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-publish-gh-pages.yml@main
3739
with:
3840
artifact-name: ${{ needs.build-docs.outputs.artifact-name }}
41+
publish-gh-pages-branch: true
3942
secrets:
4043
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)