Files
PolyWeather/deploy.sh
T

14 lines
295 B
Bash
Raw Normal View History

#!/bin/bash
set -e
VPS="root@38.54.27.70"
PROJECT="/root/PolyWeather"
echo "🚀 Deploying to $VPS..."
ssh "$VPS" "cd $PROJECT && git pull && docker compose up -d --build"
echo "✅ Deploy complete. Checking health..."
sleep 8
ssh "$VPS" "curl -s http://localhost:8000/healthz"
2026-05-19 14:14:48 +08:00
# deploy test