chore: post-commit formatting churn

This commit is contained in:
Raphael Westphal
2026-08-18 13:10:15 +02:00
parent 05ad577eea
commit 345025b070
4 changed files with 30 additions and 28 deletions
+6 -6
View File
@@ -6,18 +6,18 @@ REMOTE="${1:-alarm}"
REMOTE_DIR="${2:-/zdata/root/dockerFiles/lvmh}"
if ! ssh "$REMOTE" "test -f $REMOTE_DIR/.env" 2>/dev/null; then
echo "ERROR: $REMOTE:$REMOTE_DIR/.env missing. Create it first (see .env.example):"
echo " ssh $REMOTE 'mkdir -p $REMOTE_DIR && cat > $REMOTE_DIR/.env' <<EOF
echo "ERROR: $REMOTE:$REMOTE_DIR/.env missing. Create it first (see .env.example):"
echo " ssh $REMOTE 'mkdir -p $REMOTE_DIR && cat > $REMOTE_DIR/.env' <<EOF
LVMH_TOKEN=...
ZAI_RENAUD_API_KEY=...
EOF"
exit 1
exit 1
fi
rsync -az --delete \
--exclude .git --exclude node_modules --exclude web/dist \
--exclude .env --exclude .scratch --exclude .pi \
./ "$REMOTE:$REMOTE_DIR/"
--exclude .git --exclude node_modules --exclude web/dist \
--exclude .env --exclude .scratch --exclude .pi \
./ "$REMOTE:$REMOTE_DIR/"
ssh "$REMOTE" "cd $REMOTE_DIR && docker compose build lvmh && docker compose up -d && docker compose ps"
echo "Deployed: http://$REMOTE:8686"