Skip to content

Commit

Permalink
Fix up doc action workflow permissions (#571)
Browse files Browse the repository at this point in the history
  • Loading branch information
jborean93 authored Jul 7, 2024
1 parent b7591ca commit e0e5255
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 @@ -26,10 +26,13 @@ jobs:
if: github.repository == 'ansible-collections/community.windows'
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 e0e5255

Please sign in to comment.