diff options
| author | azureazure <azureazure@disroot.org> | 2026-05-15 16:19:10 +0200 |
|---|---|---|
| committer | azureazure <azureazure@disroot.org> | 2026-05-15 16:19:10 +0200 |
| commit | ce8e014192718c85f0e9871e1521287a7cf120af (patch) | |
| tree | e0fcdde7e54b90016a387173b3c88863a9e61233 /post.sh | |
| parent | a58bf7be45a5223fd197c64a26d5cb20f734f8e9 (diff) | |
| download | slimegirl.nexus-ce8e014192718c85f0e9871e1521287a7cf120af.tar.gz | |
new host new me
Diffstat (limited to 'post.sh')
| -rwxr-xr-x | post.sh | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -1,12 +1,6 @@ #!/bin/sh -if [ ! -s API_KEY ]; then - echo "put ur api key in API_KEY pwetty pwease" - exit 1 -fi -api=$(cat API_KEY) + ./build.sh -tmpfile=$(mktemp) -tar -C public/ -cvz . > $tmpfile -trap "rm $tmpfile" EXIT -curl --oauth2-bearer "$api" -Fcontent=@"$tmpfile" https://pages.sr.ht/publish/lemurianmage.srht.site +rsync -rtvzP public/ --rsync-path='doas rsync' \ + lemurianmage@slimegirl.nexus:/var/www/htdocs/slimegirl.nexus |
