Skip to content

Commit

Permalink
Adjust docs publish workflow. (#2155) (#2176)
Browse files Browse the repository at this point in the history
(cherry picked from commit 420418c)

Co-authored-by: Felix Fontein <[email protected]>
  • Loading branch information
patchback[bot] and felixfontein authored Jul 1, 2024
1 parent ed84c15 commit 8a930e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docs-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 8a930e4

Please sign in to comment.