Debian Codegraph @

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

raw
1 ---
2 name: Collection Docs
3 concurrency:
4 group: docs-${{ github.head_ref }}
5 cancel-in-progress: true
6 on:
7 pull_request_target:
8 types: [opened, synchronize, reopened, closed]
9 env:
10 GHP_BASE_URL: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}
11
12 jobs:
13 validate-docs:
14 permissions:
15 contents: read
16 name: Validate Ansible Docs
17 uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-pr.yml@ea28abedf20b2db685a934b54d9833b9da24fe37 # @main as of 2026-03-25
18 with:
19 init-lenient: false
20 init-fail-on-error: true
21 ansible-ref: devel
22 intersphinx-links: |
23 community_aws:https://ansible-collections.github.io/community.aws/branch/main/
24 ansible_devel:https://docs.ansible.com/ansible-core/devel/
25 artifact-name: ${{ github.event.repository.name }}_validate_docs_${{ github.event.pull_request.head.sha }}
26
27
28 build-docs:
29 permissions:
30 contents: read
31 name: Build Ansible Docs
32 uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-pr.yml@ea28abedf20b2db685a934b54d9833b9da24fe37 # @main as of 2026-03-25
33 with:
34 init-lenient: true
35 init-fail-on-error: false
36 ansible-ref: devel
37 intersphinx-links: |
38 community_aws:https://ansible-collections.github.io/community.aws/branch/main/
39 ansible_devel:https://docs.ansible.com/ansible-core/devel/
40
41 comment:
42 permissions:
43 pull-requests: write
44 runs-on: ubuntu-latest
45 needs: [build-docs]
46 name: PR comments
47 steps:
48 - name: PR comment
49 uses: ansible-community/github-docs-build/actions/ansible-docs-build-comment@ea28abedf20b2db685a934b54d9833b9da24fe37 # @main as of 2026-03-25
50 with:
51 body-includes: "## Docs Build"
52 reactions: heart
53 action: ${{ needs.build-docs.outputs.changed != 'true' && 'remove' || '' }}
54 on-closed-action: remove
55 on-merged-body: |
56 ## Docs Build 📝
57
58 Thank you for contribution!✨
59
60 This PR has been merged and your docs changes will be incorporated when they are next published.
61 body: |
62 ## Docs Build 📝
63
64 Thank you for contribution!✨
65
66 The docsite for **this PR** is available for download as an artifact from this run:
67 ${{ needs.build-docs.outputs.artifact-url }}
68
69 You can compare to the docs for the `main` branch here:
70 ${{ env.GHP_BASE_URL }}/branch/main
71
72 File changes:
73
74 ${{ needs.build-docs.outputs.diff-files-rendered }}
75
76 ${{ needs.build-docs.outputs.diff-rendered }}