Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemorency committed Aug 6, 2024
1 parent 10d00e4 commit fb573b8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docs-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ jobs:
uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-pr.yml@main
with:
# lenient mode is enabled here because the docs generated from the api spec contain
# broken links
# broken links. fail-on-error should also be true, but we set it to false for the
# same issue
# see issue https://github.com/ansible-collections/vmware.vmware_rest/issues/509
init-lenient: true
init-fail-on-error: true
init-fail-on-error: false
intersphinx-links: |
ansible_devel:https://docs.ansible.com/ansible-core/devel/
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/docs-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ on:
- main
- stable-*
tags:
- '*'
- "*"
schedule:
- cron: '0 12 * * *'
- cron: "0 12 * * *"

jobs:
build-docs:
Expand All @@ -20,7 +20,11 @@ jobs:
name: Build Ansible Docs
uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-push.yml@main
with:
init-lenient: false
# lenient mode is enabled here because the docs generated from the api spec contain
# broken links. fail-on-error should also be true, but we set it to false for the
# same issue
# see issue https://github.com/ansible-collections/vmware.vmware_rest/issues/509
init-lenient: true
init-fail-on-error: true
intersphinx-links: |
ansible_devel:https://docs.ansible.com/ansible-core/devel/
Expand Down
2 changes: 1 addition & 1 deletion docs/docsite/rst/dev_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Guidelines for VMware REST module development
*********************************************

The Ansible VMware REST collection (on ``Galaxy <https://galaxy.ansible.com/vmware/vmware_rest>``_, source code ``repository <https://github.com/ansible-collections/vmware.vmware_rest>``_) is maintained by Red Hat and the community.
The Ansible VMware REST collection (on ``Galaxy <https://galaxy.ansible.com/vmware/vmware_rest>``, source code ``repository <https://github.com/ansible-collections/vmware.vmware_rest>``) is maintained by Red Hat and the community.

.. contents::
:local:
Expand Down

0 comments on commit fb573b8

Please sign in to comment.