aboutsummaryrefslogtreecommitdiff
path: root/post.sh
diff options
context:
space:
mode:
Diffstat (limited to 'post.sh')
-rwxr-xr-xpost.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/post.sh b/post.sh
index 3171e58..fe106f0 100755
--- a/post.sh
+++ b/post.sh
@@ -1,8 +1,7 @@
-#!/bin/sh
+#!/usr/bin/env bash
+shopt -s globstar
./build.sh
-gzip -k public/**/*.html
-gzip -k public/**/*.css
-gzip -k public/**/*.xml
+gzip -9 -f -k public{/,/**/}*.{html,css,xml}
rsync -rtvzP public/ --rsync-path='doas rsync' \
lemurianmage@slimegirl.nexus:/var/www/htdocs/slimegirl.nexus