aboutsummaryrefslogtreecommitdiff
path: root/post.sh
diff options
context:
space:
mode:
authorlemurianmage <azureazure@disroot.org>2025-11-25 20:52:46 +0100
committerlemurianmage <azureazure@disroot.org>2025-11-25 20:52:46 +0100
commit92274c283758b04699166d08409da58827b5ef9e (patch)
tree01b50d95deb9b0ccea03c329b4ff98262551ce58 /post.sh
parent2236e7d5a64a32a16304d1f1d0efbd01a0660eb6 (diff)
downloadslimegirl.nexus-92274c283758b04699166d08409da58827b5ef9e.tar.gz
build de-automation
Diffstat (limited to 'post.sh')
-rwxr-xr-xpost.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/post.sh b/post.sh
new file mode 100755
index 0000000..ca43302
--- /dev/null
+++ b/post.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+./build.sh
+tmpfile=$(mktemp)
+tar -C public/ -cvz . > $tmpfile
+curl --oauth2-bearer "$1" -Fcontent=@"$tmpfile" https://pages.sr.ht/publish/lemurianmage.srht.site
+rm "$tmpfile"