3 Commits
Author SHA1 Message Date
SkyJourneyandClaude Sonnet 4.6 4c9723b1df 合并 pipeline 为单 job 双 step
build 与 deploy 顺序执行且无并行需要,
合并为一个 job 的两个 step 更简洁

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 17:45:02 +08:00
SkyJourneyandClaude Sonnet 4.6 e5e5b841a4 修正 TeamCity pipeline.yaml 语法
使用正确的 TeamCity Pipelines YAML 格式:
- type: script + script-content 替换错误的 script 字段
- dependencies 替换 GitHub Actions 风格的 needs
- 移除无效的 on/push 触发块,改为注释说明
  (VCS 触发器需在 TeamCity UI 或 Kotlin DSL 中配置)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 17:44:18 +08:00
SkyJourneyandClaude Sonnet 4.6 a6afbcffeb 添加 CI/CD 构建配置与部署文件
- deploy/Dockerfile:多阶段构建,node:24-alpine(阿里镜像)构建
  dist,nginx:alpine 作为成品镜像;构建上下文为仓库根目录
- deploy/nginx.conf:Vue Router history 模式 SPA 配置,含 gzip
  压缩和 /assets/ 长期缓存
- deploy/compose.yaml:以 zhican-admin:latest 启动服务,对外暴露
  12801 端口
- .teamcity/pipeline.yaml:main 分支触发,build/deploy 独立 step

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 17:36:10 +08:00