Debian Codegraph @

ansible_collections/amazon/aws/.github/workflows/docs-push.yml

raw
1 ---
2 name: Collection Docs
3 concurrency:
4 group: docs-push-${{ github.sha }}
5 cancel-in-progress: true
6 on:
7 push:
8 branches:
9 - main
10 - stable-*
11 tags:
12 - "*"
13 schedule:
14 - cron: "0 12 * * *"
15
16 jobs:
17 build-docs:
18 permissions:
19 contents: read
20 name: Build Ansible Docs
21 uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-push.yml@ea28abedf20b2db685a934b54d9833b9da24fe37 # @main as of 2026-03-25
22 with:
23 init-lenient: false
24 init-fail-on-error: true
25 ansible-ref: devel
26 intersphinx-links: |
27 community_aws:https://ansible-collections.github.io/community.aws/branch/main/
28 ansible_devel:https://docs.ansible.com/ansible-core/devel/
29
30 publish-docs-gh-pages:
31 # use to prevent running on forks
32 if: github.repository == 'ansible-collections/amazon.aws'
33 permissions:
34 contents: write
35 pages: write
36 id-token: write
37 needs: [build-docs]
38 name: Publish Ansible Docs
39 uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-publish-gh-pages.yml@ea28abedf20b2db685a934b54d9833b9da24fe37 # @main as of 2026-03-25
40 with:
41 artifact-name: ${{ needs.build-docs.outputs.artifact-name }}
42 publish-gh-pages-branch: true
43 secrets:
44 GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}