We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c76572 + 3852205 commit 9c4888eCopy full SHA for 9c4888e
guide/static-deploy.md
@@ -60,7 +60,7 @@ $ npm run preview
60
61
如果你正要部署到 `https://<USERNAME>.github.io/`,或者通过 GitHub Pages 部署到一个自定义域名(例如 `www.example.com`),请将 `base` 设置为 `'/'`。或者,你也可以从配置中移除 `base`,因为它默认为 `'/'`。
62
63
- 如果你正在部署到 `https://<USERNAME>.github.io/<REPO>/`(例如你的仓库地址为 `https://github.com<USERNAME>/<REPO>`),那么请将 `base` 设置为 `'/<REPO>/'`。
+ 如果你正在部署到 `https://<USERNAME>.github.io/<REPO>/`(例如你的仓库地址为 `https://github.com/<USERNAME>/<REPO>`),那么请将 `base` 设置为 `'/<REPO>/'`。
64
65
2. 进入仓库 settings 页面的 GitHub Pages 配置,选择部署来源为“GitHub Actions”,这将引导你创建一个构建和部署项目的工作流程,我们提供了一个安装依赖项和使用 npm 构建的工作流程样本:
66
0 commit comments