File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,15 @@ jobs:
3838 if : github.repository == 'ansible-collections/community.crypto'
3939 permissions :
4040 contents : write
41+ pages : write
42+ id-token : write
4143 needs : [build-docs]
4244 name : Publish Ansible Docs
4345 uses : ansible-community/github-docs-build/.github/workflows/_shared-docs-build-publish-gh-pages.yml@main
4446 with :
4547 artifact-name : ${{ needs.build-docs.outputs.artifact-name }}
4648 action : ${{ (github.event.action == 'closed' || needs.build-docs.outputs.changed != 'true') && 'teardown' || 'publish' }}
49+ publish-gh-pages-branch : true
4750 secrets :
4851 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4952
Original file line number Diff line number Diff line change @@ -43,10 +43,13 @@ jobs:
4343 if : github.repository == 'ansible-collections/community.crypto'
4444 permissions :
4545 contents : write
46+ pages : write
47+ id-token : write
4648 needs : [build-docs]
4749 name : Publish Ansible Docs
4850 uses : ansible-community/github-docs-build/.github/workflows/_shared-docs-build-publish-gh-pages.yml@main
4951 with :
5052 artifact-name : ${{ needs.build-docs.outputs.artifact-name }}
53+ publish-gh-pages-branch : true
5154 secrets :
5255 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments