diff options
Diffstat (limited to 'hooks/pre-push')
-rwxr-xr-x | hooks/pre-push | 1 |
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}" |