2026-06-14 04:40:02 +08:00
|
|
|
$VPS = "root@172.245.214.111"
|
2026-05-19 13:19:03 +08:00
|
|
|
$PROJECT = "/root/PolyWeather"
|
|
|
|
|
|
|
|
|
|
Write-Host "🚀 Deploying to $VPS..." -ForegroundColor Cyan
|
|
|
|
|
|
|
|
|
|
ssh $VPS "cd $PROJECT && git pull && docker compose up -d --build"
|
|
|
|
|
|
|
|
|
|
Write-Host "✅ Deploy complete. Checking health..." -ForegroundColor Green
|
|
|
|
|
Start-Sleep 8
|
|
|
|
|
ssh $VPS "curl -s http://localhost:8000/healthz"
|