Skip to content

Commit 9c4888e

Browse files
authored
Merge pull request #944 from fgt1t5y/patch-1
docs(zh_CN): 补充丢失的斜杆
2 parents 4c76572 + 3852205 commit 9c4888e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/static-deploy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ $ npm run preview
6060

6161
如果你正要部署到 `https://<USERNAME>.github.io/`,或者通过 GitHub Pages 部署到一个自定义域名(例如 `www.example.com`),请将 `base` 设置为 `'/'`。或者,你也可以从配置中移除 `base`,因为它默认为 `'/'`
6262

63-
如果你正在部署到 `https://<USERNAME>.github.io/<REPO>/`(例如你的仓库地址为 `https://github.com<USERNAME>/<REPO>`),那么请将 `base` 设置为 `'/<REPO>/'`
63+
如果你正在部署到 `https://<USERNAME>.github.io/<REPO>/`(例如你的仓库地址为 `https://github.com/<USERNAME>/<REPO>`),那么请将 `base` 设置为 `'/<REPO>/'`
6464

6565
2. 进入仓库 settings 页面的 GitHub Pages 配置,选择部署来源为“GitHub Actions”,这将引导你创建一个构建和部署项目的工作流程,我们提供了一个安装依赖项和使用 npm 构建的工作流程样本:
6666

0 commit comments

Comments
 (0)