diff --git a/deploy.sh b/deploy.sh index 04ec40cb..9993aab8 100755 --- a/deploy.sh +++ b/deploy.sh @@ -48,7 +48,7 @@ log "Installing bridge dependencies..." # Install/update npm deps log "Installing npm dependencies..." cd "$REPO_DIR/admin" -npm ci --silent 2>&1 | tee -a "$LOG_FILE" +npm ci --include=dev --silent 2>&1 | tee -a "$LOG_FILE" # Ensure .env.production.local exists (base path override) if [ ! -f "$REPO_DIR/admin/.env.production.local" ]; then @@ -77,7 +77,7 @@ log "Restarting orchestrator..." systemctl restart ai-secretary 2>&1 | tee -a "$LOG_FILE" # Wait and verify -sleep 5 +sleep 20 if curl -sf http://localhost:8002/health > /dev/null 2>&1; then log "=== Deploy completed successfully ===" else