
We'll use this role for unified openstack docs publishing. Change-Id: I879d42cd04ab051b91c0b636856470cd4126b6f2 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
16 lines
588 B
YAML
16 lines
588 B
YAML
# Put stable release changes in dir named after stable release under the
|
|
# build dir. When Zuul copies these files they will be accessible under
|
|
# the developer docs root using the stable release name.
|
|
- name: Move built html to the side
|
|
command: "mv {{ doc_build_dir }}/html {{ doc_build_dir }}/tmp"
|
|
|
|
- name: Ensure destination path exists
|
|
file:
|
|
path: "{{ doc_build_dir }}/html"
|
|
state: directory
|
|
|
|
- name: Move html to branch location without stable prefix
|
|
command: >-
|
|
mv {{ doc_build_dir }}/tmp
|
|
{{ doc_build_dir }}/html/{{ zuul.branch | replace('stable/', '') }}
|