File tree Expand file tree Collapse file tree 1 file changed +6
-15
lines changed
Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -98,25 +98,16 @@ jobs:
9898
9999 # Rebuild and restart containers
100100 echo "🐳 Rebuilding Docker containers..."
101- docker compose down
102- docker compose build --no-cache app
103- docker compose up -d
101+ docker compose down --remove-orphans || true
102+ docker compose up --build -d
104103
105104 # Wait for services to be healthy
106105 echo "⏳ Waiting for services to start..."
107- sleep 15
108-
109- # Check if app is running
110- if docker compose ps | grep -q "transcript-parser.*running"; then
111- echo "✅ App container is running"
112- else
113- echo "❌ App container failed to start"
114- docker compose logs app --tail=50
115- exit 1
116- fi
106+ sleep 30
117107
118- # Reload nginx to pick up any config changes
119- docker compose exec -T nginx nginx -s reload || true
108+ # Check container status
109+ echo "📋 Container status:"
110+ docker compose ps
120111
121112 echo "🎉 Deployment complete!"
122113 ENDSSH
You can’t perform that action at this time.
0 commit comments