docs: 将部署脚本地址切换为 Gitea 源
- 将 README 中的 GitHub raw 地址替换为 https://gitea.tohub.top/Share/AI_English/raw/branch/main/deploy.sh - 使一键部署命令指向自建的 Gitea 仓库
This commit is contained in:
@@ -82,7 +82,7 @@ Linux 服务器可使用 `deploy.sh` 一键下载并部署 `main` 分支的最
|
||||
- 保留 deploy 参数,以便下载脚本后直接执行部署,而不是进入交互菜单。
|
||||
|
||||
```bash
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/ghuang-top/AI_English/main/deploy.sh) deploy
|
||||
bash <(curl -fsSL https://gitea.tohub.top/Share/AI_English/raw/branch/main/deploy.sh) deploy
|
||||
```
|
||||
|
||||
脚本会将 `src/index.html`、`src/js/` 和 `src/styles/` 部署到 `/root/data/docker_data/Nginx/html/english/ai/`,清理目标目录中的其他内容,但保留已有的 `data/` 目录。运行前请确认目标路径符合服务器配置;脚本需要 root 权限以及 `curl`、`tar`、`find` 命令。
|
||||
|
||||
Reference in New Issue
Block a user