diff options
| author | lemurianmage <azureazure@disroot.org> | 2025-11-25 20:52:46 +0100 |
|---|---|---|
| committer | lemurianmage <azureazure@disroot.org> | 2025-11-25 20:52:46 +0100 |
| commit | 92274c283758b04699166d08409da58827b5ef9e (patch) | |
| tree | 01b50d95deb9b0ccea03c329b4ff98262551ce58 | |
| parent | 2236e7d5a64a32a16304d1f1d0efbd01a0660eb6 (diff) | |
| download | slimegirl.nexus-92274c283758b04699166d08409da58827b5ef9e.tar.gz | |
build de-automation
| -rw-r--r-- | .build.yml | 15 | ||||
| -rwxr-xr-x | post.sh | 6 |
2 files changed, 6 insertions, 15 deletions
diff --git a/.build.yml b/.build.yml deleted file mode 100644 index fe492b7..0000000 --- a/.build.yml +++ /dev/null @@ -1,15 +0,0 @@ -image: alpine/edge -oauth: pages.sr.ht/PAGES:RW -packages: -- hut -- emacs-nox -environment: - site: lemurianmage.srht.site -tasks: -- build: - ./build.sh -- package: | - cd public - tar -cvz . > ../site.tar.gz -- upload: | - hut pages publish -d $site site.tar.gz @@ -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" |
