c1400d61cb
Add "/" to sphinx dir to to remove the final "html" from path to fix publishing. Also, add "/" to playbooks/publish/publications.yaml. Change-Id: Ie90b3204b2530c30468a28f107f74794235a0921 Depends-On: I0eed5ebf5af8d43f6a105a1fc0dcf1b0a9813dbd
23 lines
685 B
YAML
23 lines
685 B
YAML
- hosts: all
|
|
roles:
|
|
- role: prepare-docs-for-afs
|
|
when: zuul_success | bool
|
|
- role: write-root-marker
|
|
when: zuul_success | bool
|
|
- role: fetch-sphinx-output
|
|
sphinx_output_suffix: "/"
|
|
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
|
|
when: zuul_success | bool
|
|
|
|
- hosts: localhost
|
|
roles:
|
|
- role: set-service-type-data-fact
|
|
when: zuul_success | bool
|
|
- role: create-afs-token
|
|
when: zuul_success | bool
|
|
- role: upload-afs
|
|
afs_target: "{{ afs.path }}/project-install-guide/{{ service_type_data.service_type }}"
|
|
when: zuul_success | bool
|
|
- role: destroy-afs-token
|
|
when: zuul_success | bool
|