diff options
author | wires <wires@noreply.wires.systems> | 2025-04-02 13:01:00 -0400 |
---|---|---|
committer | wires <wires@noreply.wires.systems> | 2025-04-02 13:01:00 -0400 |
commit | 2cfc023f4ad88c38c43a8c70706130a7ec6d5859 (patch) | |
tree | e49371a3ebd450698789b286f02d1c250a5c47bb /\ | |
parent | disable excess rss feeds (diff) | |
download | blog-2cfc023f4ad88c38c43a8c70706130a7ec6d5859.tar.gz |
generate statically compressed files
Diffstat (limited to '\')
-rw-r--r-- | \ | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/\ b/\ new file mode 100644 index 0000000..6872d02 --- /dev/null +++ b/\ @@ -0,0 +1,7 @@ +#!/bin/sh + +rm -rf ./public +hugo --minify || exit $? +gzip -rk public || exit $? +fd . public -tf -E '*.gz' -x brotli -k {} || exit $? +rsync -rvz --delete ./public/ wires.systems:/var/www/html |