diff options
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/deploy.sh b/deploy.sh index 8ad09b2..14ffd20 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,4 +1,7 @@ #!/bin/sh rm -rf ./public -hugo && rsync -rvz --delete ./public/ wires.systems:/var/www/html +hugo --minify || exit $? +gzip --best -rk public || exit $? +fd . public -tf -E '*.gz' -x brotli -k {} || exit $? +rsync -rvz --delete ./public/ wires.systems:/var/www/html |