Adjust docs publishing workflow. (#903)

Ref: https://github.com/ansible-community/github-docs-build/issues/92
This commit is contained in:
Felix Fontein
2024-06-29 17:27:43 +02:00
committed by GitHub
parent 7efc6381d0
commit 165571f5cf
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -44,10 +44,13 @@ jobs:
if: github.repository == 'ansible-collections/community.docker'
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 }}