From e1d1af7f36afb73dec24b82f089a76f990a1f540 Mon Sep 17 00:00:00 2001 From: Zhengchen Tao Date: Wed, 20 May 2026 11:51:57 +0800 Subject: [PATCH] =?UTF-8?q?docs(readme):=20CI=20=E4=BB=8B=E7=BB=8D?= =?UTF-8?q?=E5=8F=A5=E8=A1=A5=20deploy=20step,=E4=B8=8E=20DEPLOY=5FPATH=20?= =?UTF-8?q?bullet=20=E5=AF=B9=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 跟 gitea-mcp 52c46e7 同步:介绍句之前只说 'builds and pushes', 跟新加的 vars.DEPLOY_PATH bullet 不对齐。补 'then optionally redeploys ... (controlled by vars.DEPLOY_PATH)'。 --- README.md | 4 +++- README.zh-CN.md | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 225f018..a497cfe 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,9 @@ docker run --rm -p 8080:8080 \ ``` The included `.gitea/workflows/build-image.yml` is a Gitea Actions workflow that -builds and pushes the image. It expects these repository Variables / Secrets: +builds and pushes the image, 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 diff --git a/README.zh-CN.md b/README.zh-CN.md index 1cbae68..b55a7d6 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -132,7 +132,7 @@ docker run --rm -p 8080:8080 \ obsidian-mcp ``` -仓库内的 `.gitea/workflows/build-image.yml` 是一个 Gitea Actions workflow,负责构建并推送镜像。需要在仓库设置中配置: +仓库内的 `.gitea/workflows/build-image.yml` 是一个 Gitea Actions workflow,负责构建并推送镜像,并可选在 runner 主机上重启容器(由下方 `vars.DEPLOY_PATH` 控制)。需要在仓库设置中配置: - `vars.REGISTRY` —— registry 主机名(例如 `ghcr.io`,自建 Gitea Container Registry 写 `git.example.com`) - `vars.IMAGE_OWNER` —— registry 的 owner / namespace