hooks: Copy .webp diagram versions too

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2022-03-30 14:34:16 +02:00
parent baf79c033e
commit ba72c83d79

View file

@ -61,6 +61,7 @@ scp passt.1.html "${USER_HOST}:${WEB}/"
for pic in passt_overview pasta_overview; do for pic in passt_overview pasta_overview; do
cwebp -preset drawing -q 10 "doc/${pic}.png" -o "doc/${pic}.webp" cwebp -preset drawing -q 10 "doc/${pic}.png" -o "doc/${pic}.webp"
scp "doc/${pic}.png" "doc/${pic}.png" "${USER_HOST}:${WEB}/" scp "doc/${pic}.png" "doc/${pic}.png" "${USER_HOST}:${WEB}/"
scp "doc/${pic}.webp" "doc/${pic}.webp" "${USER_HOST}:${WEB}/"
done done
scp doc/*.html "${USER_HOST}:${WEB}/" scp doc/*.html "${USER_HOST}:${WEB}/"