aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorazureazure <azureazure@disroot.org>2026-05-15 16:35:46 +0200
committerazureazure <azureazure@disroot.org>2026-05-15 16:35:46 +0200
commit2ed89a7e849622cd4d17ab2117527b509ae0fe73 (patch)
tree03936464353db49d5c75e946a2f1d3798550bd41
parentce8e014192718c85f0e9871e1521287a7cf120af (diff)
downloadslimegirl.nexus-2ed89a7e849622cd4d17ab2117527b509ae0fe73.tar.gz
gzip stuff before posting
-rw-r--r--.gitignore1
-rwxr-xr-xpost.sh4
2 files changed, 3 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index b3f8121..ec18a71 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,5 @@
/src/blog/index.org
# generated rss feed
/src/blog/rss.xml
-API_KEY
/public/
/pkgs/
diff --git a/post.sh b/post.sh
index f961adf..3171e58 100755
--- a/post.sh
+++ b/post.sh
@@ -1,6 +1,8 @@
#!/bin/sh
./build.sh
-
+gzip -k public/**/*.html
+gzip -k public/**/*.css
+gzip -k public/**/*.xml
rsync -rtvzP public/ --rsync-path='doas rsync' \
lemurianmage@slimegirl.nexus:/var/www/htdocs/slimegirl.nexus