Auto copy PDFs to HTML folder for Zuul to upload

This commit is contained in:
Gode, Sebastian 2025-02-07 10:03:10 +00:00
parent a866e9829d
commit 4236619c49

View File

@ -58,6 +58,7 @@ allowlist_externals =
cp
commands =
mkdir -p doc/build/pdf
mkdir -p doc/build/html
{[testenv:bindeps]commands}
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
@ -127,6 +128,7 @@ commands =
make -C {{ loc }}/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/html/
{% endfor %}
[testenv:bindeps]