aboutsummaryrefslogtreecommitdiff
path: root/post.sh
diff options
context:
space:
mode:
authorazureazure <azureazure@disroot.org>2026-05-15 17:23:15 +0200
committerazureazure <azureazure@disroot.org>2026-05-15 17:23:15 +0200
commit084e13c8c68f8acf90be6ef7845194542f6eeba0 (patch)
treedfe40a0c691a04d6ab2045c1482d9337ab4b9fa5 /post.sh
parent2ed89a7e849622cd4d17ab2117527b509ae0fe73 (diff)
downloadslimegirl.nexus-084e13c8c68f8acf90be6ef7845194542f6eeba0.tar.gz
fix post.sh
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