添加触发 Gitea CI/CD 的脚本和命令

This commit is contained in:
2026-05-19 11:21:08 +08:00
parent ad34cbeab3
commit 50c44ddc2d
3 changed files with 69 additions and 2 deletions
+1 -1
View File
@@ -248,6 +248,7 @@ docker compose down
| `bun run start` | 直接运行 `src/server.ts` |
| `bun run start:prod` | 先类型检查再启动 |
| `bun run install:opencode` | 手动安装 `.opencode` 依赖 |
| `bun run pipeline:trigger` | 通过更新远端 tag 触发 Gitea CI/CD(默认优先 `gitea`,否则回退到 `origin`tag=`latest` |
### 模型与 API 配置
@@ -309,4 +310,3 @@ OPENCODE_CLIENT_BASE_URL=http://127.0.0.1:4096
```
配置后,`TJWaterAgent` 会连接该外部 opencode server,而不是自行启动 embedded opencode server。