2 Commits
Author SHA1 Message Date
huyueandClaude Opus 4.7 9ddad90891 ci: deploy.yml 按分支分流(dev→srv1563674 / main·master→sf5-gpu-01)
Deploy / Build and deploy (push) Successful in 8s
prod 也接入自动部署:push main/master 在 prod GPU 机重建 content-harvester 容器。
对应在 sf5-gpu-01 上新增了实例级 gitea runner(label sf5-gpu-01)。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 10:46:02 +08:00
huyueandClaude Opus 4.7 3dc5f02aaf ci: 加 dev 自动部署工作流(push dev → 重建 content-harvester 容器)
Deploy / Build and deploy (dev) (push) Successful in 1m40s
.gitea/workflows/deploy.yml:push 到 dev 分支(或 workflow_dispatch)→ dev 开发机 runner
(标签 srv1563674)→ checkout → docker build → docker rm -f → docker run(env 走 --env-file .env,
内容来自 gitea repo secret CH_ENV_FILE)→ healthz 检查 → image prune。只触发 dev,master/prod 不碰。
部署参数(端口 8019 / 网络 ai-admin-cuiyue_default / 卷 content-harvester-profile / mem 2g)在 yml 的 env 块里。
DEPLOY.md / README.md 同步更新(dev 自动、prod 仍手动;前置:配 CH_ENV_FILE secret)。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 22:18:49 +08:00