fix(tvos): app store builds

This commit is contained in:
edde746
2026-04-24 17:35:22 +02:00
parent 2b59de91c7
commit a13cfedbce
9 changed files with 43 additions and 71 deletions
-20
View File
@@ -1,20 +0,0 @@
#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
REMOTE="root@212.132.75.249"
SSH_KEY="$HOME/.ssh/id_edde"
REMOTE_DIR="/opt/plezy-relay"
SSH="ssh -i $SSH_KEY $REMOTE"
cd "$SCRIPT_DIR"
echo "Syncing files to $REMOTE:$REMOTE_DIR..."
rsync -avz --exclude='plezy-relay' --exclude='plezy-server-linux-amd64' \
-e "ssh -i $SSH_KEY" \
. "$REMOTE:$REMOTE_DIR/"
echo "Deploying..."
$SSH "cd $REMOTE_DIR && docker compose up -d --build"
echo "Done."