clouddreamai-cicd-setup 1.5.44 → 1.5.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clouddreamai-cicd-setup",
3
- "version": "1.5.44",
3
+ "version": "1.5.45",
4
4
  "description": "CloudDreamAI GitLab CI/CD 自动配置工具 - 支持 NestJS/Vue/React 项目的一键 CI/CD 配置",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -609,11 +609,11 @@ fi
609
609
  # 检查部署状态
610
610
  echo "检查部署状态..."
611
611
  sleep 10
612
- if docker-compose ps | grep -q "$APP_NAME.*Up"; then
612
+ if docker ps --format '{{.Names}} {{.Status}}' | grep -q "$APP_NAME.*Up"; then
613
613
  echo "部署成功! $APP_NAME 服务已启动"
614
614
  else
615
615
  echo "部署失败! 请检查日志"
616
- docker-compose logs
616
+ docker logs $APP_NAME --tail 50 2>&1 || true
617
617
  exit 1
618
618
  fi
619
619