We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 062e554 commit 041e7a0Copy full SHA for 041e7a0
.github/workflows/reusable-build-docs.yaml
@@ -61,12 +61,13 @@ jobs:
61
62
- name: Build the Ansible community package docs
63
env:
64
- PACKAGE_VERSION: "${{ inputs.ansible-package-version }}"
65
- run: |
66
- # Clear PACKAGE_VERSION if it's set to devel
67
- if [ "${PACKAGE_VERSION}" = "devel" ]; then
68
- PACKAGE_VERSION=""
69
- fi
+ PACKAGE_VERSION: >-
+ ${{
+ inputs.ansible-package-version != 'devel'
+ && inputs.ansible-package-version
+ || ''
+ }}
70
+ run: >-
71
nox -e make -- webdocs ANSIBLE_VERSION="${PACKAGE_VERSION}" ${{
72
inputs.generate-redirects && 'EXTRA_TAGS="-t redirects"' || ''
73
}}
0 commit comments