2 Commits

Author SHA1 Message Date
wangdl
781645de84 ci: add health check + rollback hint to deploy step
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 47s
- Record previous docker images before deploy
- Health check loop: 12 attempts × 5s = 60s total
- On failure: warning + previous images printed for manual rollback

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-18 14:01:33 +08:00
wangdl
f33812cf7b ci: add GitHub Actions CI/CD pipeline (API-AI-078)
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 46s
- 5-stage pipeline: lint → test → build → docker-build → deploy
- lint: ESLint with npx prisma generate
- test: Jest with passWithNoTests, artifact upload
- build: NestJS build + dist verification
- docker-build: multi-stage Docker build for api + worker
- deploy: main-only, docker push + SSH deploy with prisma migrate

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-18 13:57:46 +08:00