aboutgitcodebugslistschat
path: root/hooks/pre-push
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-03-04 16:34:52 +0100
committerStefano Brivio <sbrivio@redhat.com>2022-03-04 19:23:45 +0100
commit14c4c0253c51506caddb380c65fd56e0cf1060ab (patch)
treecd137987cb9d56df7146ba8825382b20fa6f8555 /hooks/pre-push
parent216a266a757399765e8c756b34d679d4f7135b68 (diff)
downloadpasst-14c4c0253c51506caddb380c65fd56e0cf1060ab.tar
passt-14c4c0253c51506caddb380c65fd56e0cf1060ab.tar.gz
passt-14c4c0253c51506caddb380c65fd56e0cf1060ab.tar.bz2
passt-14c4c0253c51506caddb380c65fd56e0cf1060ab.tar.lz
passt-14c4c0253c51506caddb380c65fd56e0cf1060ab.tar.xz
passt-14c4c0253c51506caddb380c65fd56e0cf1060ab.tar.zst
passt-14c4c0253c51506caddb380c65fd56e0cf1060ab.zip
README: Make it somewhat readable on mobile devices
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 73dac94..678ca29 100755
--- a/hooks/pre-push
+++ b/hooks/pre-push
@@ -62,6 +62,7 @@ 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}/"
done
+scp doc/*.html "${USER_HOST}:${WEB}/"
ssh "${USER_HOST}" "mv ${LATEST} ${AWAY}"
ssh "${USER_HOST}" "mv ${TEMP} ${LATEST}"