forked from infra/otc-metadata
Auto copy PDFs to HTML folder for Zuul to upload
This commit is contained in:
parent
a866e9829d
commit
4236619c49
@ -58,6 +58,7 @@ allowlist_externals =
|
|||||||
cp
|
cp
|
||||||
commands =
|
commands =
|
||||||
mkdir -p doc/build/pdf
|
mkdir -p doc/build/pdf
|
||||||
|
mkdir -p doc/build/html
|
||||||
{[testenv:bindeps]commands}
|
{[testenv:bindeps]commands}
|
||||||
mkdir -p {toxinidir}/_templates
|
mkdir -p {toxinidir}/_templates
|
||||||
wget -O {toxinidir}/_templates/longtable.tex.jinja https://gitea.eco.tsi-dev.otc-service.com/infra/docs-templates/raw/branch/main/templates/longtable.tex.jinja
|
wget -O {toxinidir}/_templates/longtable.tex.jinja https://gitea.eco.tsi-dev.otc-service.com/infra/docs-templates/raw/branch/main/templates/longtable.tex.jinja
|
||||||
@ -127,6 +128,7 @@ commands =
|
|||||||
make -C {{ loc }}/build/pdf
|
make -C {{ loc }}/build/pdf
|
||||||
mkdir -p doc/build/pdf
|
mkdir -p doc/build/pdf
|
||||||
cp {{ loc }}/build/pdf/{{ service_type }}-{{ doc.type }}.pdf doc/build/pdf/
|
cp {{ loc }}/build/pdf/{{ service_type }}-{{ doc.type }}.pdf doc/build/pdf/
|
||||||
|
cp {{ loc }}/build/pdf/{{ service_type }}-{{ doc.type }}.pdf doc/build/html/
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
[testenv:bindeps]
|
[testenv:bindeps]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user