docs(readme): CI 介绍句补 deploy step,与 DEPLOY_PATH bullet 对齐

上一笔 03474c8 加 vars.DEPLOY_PATH 时只动了 bullet,介绍句还是
'builds and pushes the image',与新 bullet 描述的 deploy job 不对齐。
补一句 'then optionally redeploys ... (controlled by vars.DEPLOY_PATH)'。
This commit is contained in:
2026-05-20 11:51:47 +08:00
parent 03474c81ce
commit 52c46e738f
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -150,7 +150,9 @@ docker run --rm -p 8080:8080 \
```
The included `.gitea/workflows/build-image.yml` builds and pushes the image
on every push to `main`. It expects these repository Variables / Secrets:
on every push to `main`, then optionally redeploys the container on the
runner host (controlled by `vars.DEPLOY_PATH`, see below). It expects these
repository Variables / Secrets:
- `vars.REGISTRY` — registry hostname (e.g. `ghcr.io`, or `git.example.com` for Gitea Container Registry)
- `vars.IMAGE_OWNER` — registry owner/namespace
+1 -1
View File
@@ -143,7 +143,7 @@ docker run --rm -p 8080:8080 \
gitea-mcp
```
仓库内的 `.gitea/workflows/build-image.yml` 在每次推送到 `main` 时构建并推送镜像。需要在仓库设置中配置:
仓库内的 `.gitea/workflows/build-image.yml` 在每次推送到 `main` 时构建并推送镜像,并可选在 runner 主机上重启容器(由下方 `vars.DEPLOY_PATH` 控制)。需要在仓库设置中配置:
- `vars.REGISTRY` —— registry 主机名(例如 `ghcr.io`,自建 Gitea Container Registry 写 `git.example.com`
- `vars.IMAGE_OWNER` —— registry 的 owner / namespace