zuul-jobs/roles/fetch-sphinx-output/tasks/main.yaml
Albin Vass 70a8239d08 fetch-sphinx-output: do not synchronize owner
Change-Id: Ieb22cf12df974b6c29d8f0015680209afc5dfd7a
2020-05-18 17:04:39 +02:00

27 lines
590 B
YAML

- name: Collect sphinx build html
synchronize:
dest: "{{ zuul_executor_dest }}"
mode: pull
src: "{{ sphinx_output_src }}"
verify_host: true
owner: no
group: no
when: not zuul_use_fetch_output
- name: Copy sphinx build html
copy:
dest: "{{ zuul_output_dir }}/logs/"
src: "{{ sphinx_output_src }}"
remote_src: true
when: zuul_use_fetch_output
- name: Return artifact to Zuul
zuul_return:
data:
zuul:
artifacts:
- name: "Docs preview site"
url: "html/"
metadata:
type: docs_site