project-config/playbooks/python-docs/post-direct.yaml
Paul Belanger 1b0a572d3c
Add root-marker to publish-openstack-sphinx-docs-direct
We need a .root-marker in our docs directory for ensure we publish to
AFS properly. Without it, nothing will happen.

Change-Id: I138d0dd0e3572a5d4a5db1be17a8e54d2ed357e7
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-11-29 17:02:31 -05:00

11 lines
398 B
YAML

- hosts: all
roles:
- fetch-tox-output
- role: write-root-marker
root_marker_dir: "src/{{ zuul.project.canonical_name }}/doc/build/html"
when: zuul_success | bool
- role: fetch-sphinx-output
sphinx_output_src: "src/{{ zuul.project.canonical_name }}/doc/build/html/"
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
when: zuul_success | bool