Files
sub2api-cn-relay-manager/deploy/README.md
2026-05-27 20:23:42 +08:00

29 lines
916 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# deploy 目录说明
日期2026-05-27
`deploy/` 用来存放**部署目标会直接消费**的静态资产或配置模板。
当前内容:
- `tksea-portal/index.html`
- `https://sub.tksea.top/portal/` 的静态页面源码
- `tksea-portal/admin-batch-import.html`
- `https://sub.tksea.top/portal/admin-batch-import.html` 的最小管理页
- 直接消费 `POST /api/batch-import/runs``GET /api/batch-import/runs/*`
- `tksea-portal/nginx.sub.tksea.top.conf.example`
- `sub.tksea.top` 上 portal 路由与代理示例
它和 `scripts/` 的边界如下:
- `deploy/`
- 放静态页、Nginx/Caddy/Env 模板、会被复制到目标机上的文件
- `scripts/`
- 放执行复制、部署、reload、验收的脚本
当前对应关系:
- 资产:`deploy/tksea-portal/*`
- 部署脚本:`scripts/deploy/deploy_tksea_portal.sh`
- 资产回归:`scripts/test/test_tksea_portal_assets.sh`