aboutgitcodebugslistschat
path: root/hooks/pre-push
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-03-30 14:34:16 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-03-30 14:34:16 +0200
commitba72c83d7947454d194ff9abf25fd07ef8d2db24 (patch)
tree691dfc9901dd16cec9c4ead677eeb062d9ca173b /hooks/pre-push
parentbaf79c033e9a57d1ed3f65841088c63319d289f3 (diff)
downloadpasst-ba72c83d7947454d194ff9abf25fd07ef8d2db24.tar
passt-ba72c83d7947454d194ff9abf25fd07ef8d2db24.tar.gz
passt-ba72c83d7947454d194ff9abf25fd07ef8d2db24.tar.bz2
passt-ba72c83d7947454d194ff9abf25fd07ef8d2db24.tar.lz
passt-ba72c83d7947454d194ff9abf25fd07ef8d2db24.tar.xz
passt-ba72c83d7947454d194ff9abf25fd07ef8d2db24.tar.zst
passt-ba72c83d7947454d194ff9abf25fd07ef8d2db24.zip
hooks: Copy .webp diagram versions too
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'hooks/pre-push')
-rwxr-xr-xhooks/pre-push1
1 files changed, 1 insertions, 0 deletions
diff --git a/hooks/pre-push b/hooks/pre-push
index 678ca29..1060802 100755
--- a/hooks/pre-push
+++ b/hooks/pre-push
@@ -61,6 +61,7 @@ scp passt.1.html "${USER_HOST}:${WEB}/"
for pic in passt_overview pasta_overview; do
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}.webp" "doc/${pic}.webp" "${USER_HOST}:${WEB}/"
done
scp doc/*.html "${USER_HOST}:${WEB}/"