wires

summary refs log tree commit diff
path: root/deploy.sh
blob: 14ffd201a57ba58e3c70da56937c5a992889b181 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh

rm -rf ./public
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