Repository navigation
chore: 文档改为本 fork 自己的品牌与地址 - #1
Merged
Merged
Conversation
13 处仓库与安装链接由 monitor-probe 改为 spot-probe(src/site.ts 是唯一的三处仓库链接源)。 两处不只是品牌问题,是**功能性错误**: 1. 安装命令原本指向 `releases/latest/download/install-hub.sh`,但我们的 release 只上传 `bin/monitor-hub-*` 与 `bin/sha256sums.txt`,**没有 install-hub.sh 这个资产** —— 照文档 执行会 404。改用 `raw.githubusercontent.com/spot-probe/monitor/main/install-hub.sh`, 也就是我们安装器自己头部推荐的那个地址。 2. docker 页同时列了 Docker Hub(`stqfdyr/monitor`)与 GHCR:那是上游的发布方式,我们的 release 只在配了凭据时才追加 Docker Hub,默认只推 `ghcr.io/spot-probe/monitor`。改为只列 GHCR。 另外给 deploy 工作流加守卫:两个 Cloudflare 凭据没配时打印原因并跳过,而不是让每次推 main 都失败——发布站点与仓库本身是否健全是两件事。 至此这个仓库不再是上游的纯镜像,后续按自己的版本线走。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
13 处仓库与安装链接 → spot-probe
src/site.ts是唯一的三处仓库链接源(REPO/REPO_AGENT/REPO_THEME/REPO_DOC),其余散布在quick-start.mdx、hub.mdx、ai.mdx、dev/theme.mdx、dev/architecture.mdx、hero-install.mdx、docker.mdx。1. 安装命令会 404
文档写的是
releases/latest/download/install-hub.sh,但我们的 release 只上传bin/monitor-hub-*与bin/sha256sums.txt—— 没有install-hub.sh这个资产。照文档执行拿不到东西。改用
raw.githubusercontent.com/spot-probe/monitor/main/install-hub.sh—— 正是install-hub.sh自己头部推荐的那个地址。三处(quick-start.mdx/ai.mdx/hero-install.mdx)都改了。2. Docker 镜像指向上游的发布
原来同时列 Docker Hub(
stqfdyr/monitor)与 GHCR:那是上游的发布方式。我们的 release 只在配了凭据时才追加 Docker Hub,默认只推ghcr.io/spot-probe/monitor。改为只列 GHCR。顺带:deploy 工作流加守卫
两个 Cloudflare 凭据(
CLOUDFLARE_API_TOKEN/CLOUDFLARE_ACCOUNT_ID)没配时,原来这一步会让每次推 main 都失败。现在打印原因并跳过 —— 发布站点与仓库本身是否健全是两件事。