DNM Promote ec2_vpc_vpn and ec2_vpc_vpn_info modules and tests (#2180) #1327
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Collection Docs | |
concurrency: | |
group: docs-push-${{ github.sha }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- main | |
- stable-* | |
tags: | |
- '*' | |
schedule: | |
- cron: '0 13 * * *' | |
jobs: | |
build-docs: | |
permissions: | |
contents: read | |
name: Build Ansible Docs | |
uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-push.yml@main | |
with: | |
init-lenient: true | |
init-fail-on-error: true | |
ansible-ref: devel | |
extra-collections: 'git+https://github.com/ansible-collections/amazon.aws.git,main' | |
intersphinx-links: | | |
amazon_aws:https://ansible-collections.github.io/amazon.aws/branch/main/ | |
ansible_devel:https://docs.ansible.com/ansible-core/devel/ | |
publish-docs-gh-pages: | |
# use to prevent running on forks | |
if: github.repository == 'ansible-collections/community.aws' | |
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 }} |