collect-logs: only run the doc verify after collection
We ran the the doc verification too early before the docs got generated. This broke our log collection. Also only run it if we are generating docs. Change-Id: I43f7ffde40d1003308d48f5158549acdefc4a1c1
This commit is contained in:
parent
71854a5459
commit
cf521741d6
|
@ -18,4 +18,7 @@
|
|||
- name: Verify Sphinx build
|
||||
shell: grep "{{ item }}" "{{ artcl_collect_dir }}/docs/build/index.html"
|
||||
with_items: "{{ artcl_create_docs_payload.table_of_contents }}"
|
||||
when: artcl_verify_sphinx_build|bool
|
||||
when:
|
||||
- artcl_gen_docs|bool
|
||||
- artcl_verify_sphinx_build|bool
|
||||
- not artcl_collect|bool
|
||||
|
|
Loading…
Reference in New Issue