Allow user to select source directory in fetch-sphinx-output

It is possible doc/build/html is not the output path for sphinx. So
default to it but allow a user to override the value.

Change-Id: Ifdb258a9342216d9a2ea0162d7d00dbf0ad7fdeb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-08-31 19:21:23 -04:00
parent 957cd57ea9
commit cc59ca16ab
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
---
zuul_executor_dest: "{{ zuul.executor.log_root }}"
zuul_work_dir: "src/{{ zuul.project.canonical_name }}"
sphinx_output_src: "src/{{ zuul.project.canonical_name }}/doc/build/html"

View File

@ -2,5 +2,5 @@
synchronize:
dest: "{{ zuul_executor_dest }}"
mode: pull
src: "{{ zuul_work_dir }}/doc/build/html"
src: "{{ sphinx_output_src }}"
verify_host: true