File tree 1 file changed +1
-12
lines changed
1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 38
38
jobs :
39
39
build-package-docs :
40
40
runs-on : ubuntu-latest
41
- env :
42
- REDIRECTS : ${{ github.event.inputs.generate-redirects }}
43
41
steps :
44
42
- name : Checkout Ansible documentation
45
43
uses : actions/checkout@v4
74
72
run : echo VERSION="${PACKAGE_VERSION}" >> "${GITHUB_ENV}"
75
73
76
74
- name : Build the Ansible community package docs
77
- if : env.REDIRECTS == 'true'
78
- run : >-
79
- make webdocs EXTRA_TAGS="-t redirects" ANSIBLE_VERSION="${{
80
- env.PACKAGE_VERSION != 'devel' && env.PACKAGE_VERSION || ''
81
- }}"
82
- working-directory : build-directory/docs/docsite
83
-
84
- - name : Build the Ansible community package docs
85
- if : env.REDIRECTS == 'false'
86
75
run : >-
87
76
make webdocs ${{
88
- fromJSON(env.REDIRECTS) && '-t redirects' || ' '
77
+ inputs.generate-redirects && 'EXTRA_TAGS=" -t redirects" '
89
78
}} ANSIBLE_VERSION="${{
90
79
env.PACKAGE_VERSION != 'devel' && env.PACKAGE_VERSION || ''
91
80
}}"
You can’t perform that action at this time.
0 commit comments