#!/usr/bin/env bash # Run this ON the Arvan VPS (inside the repo) to ship the latest code. # ssh @94.101.187.12 'cd /path/to/asianmetal-dashboard && bash deploy/deploy.sh' set -euo pipefail cd "$(dirname "$0")/.." echo "▶ pulling latest…" git pull --ff-only echo "▶ building + (re)starting containers…" docker compose -f deploy/docker-compose.yml up -d --build echo "▶ status:" docker compose -f deploy/docker-compose.yml ps