fuxxy serch + rebuild script

This commit is contained in:
Olive Vaughn 2026-08-26 00:34:45 -04:00
parent 6625e5927e
commit 27ce5a4a92
3 changed files with 73 additions and 5 deletions

14
deploy.sh Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash
set -e
REMOTE="root@minifridge"
REMOTE_DIR="/mnt/user/appdata/sheepflix"
echo "syncing to $REMOTE:$REMOTE_DIR..."
rsync -avz --exclude '.git' --exclude 'testdata' --exclude 'sheepflix' \
./ "$REMOTE:$REMOTE_DIR/"
echo "rebuilding on remote..."
ssh "$REMOTE" "cd $REMOTE_DIR && docker compose up -d --build"
echo "done."