wires

summary refs log tree commit diff
path: root/deploy.sh
diff options
context:
space:
mode:
authorwires <wires@noreply.wires.systems>2025-04-02 13:01:00 -0400
committerwires <wires@noreply.wires.systems>2025-04-02 13:01:00 -0400
commit2cfc023f4ad88c38c43a8c70706130a7ec6d5859 (patch)
treee49371a3ebd450698789b286f02d1c250a5c47bb /deploy.sh
parentdisable excess rss feeds (diff)
downloadblog-2cfc023f4ad88c38c43a8c70706130a7ec6d5859.tar.gz
generate statically compressed files
Diffstat (limited to '')
-rwxr-xr-xdeploy.sh5
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