File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 20
20
21
21
如果你打算发布到 ` https://<USERNAME>.github.io/ ` ,则可以省略这一步,因为 ` base ` 默认即是 ` "/" ` 。
22
22
23
- 如果你打算发布到 ` https://<USERNAME>.github.io/<REPO>/ ` (也就是说你的仓库在 ` https://github.com/<USERNAME>/REPO> ` ),则将 ` base ` 设置为 ` "/<REPO>/" ` 。
23
+ 如果你打算发布到 ` https://<USERNAME>.github.io/<REPO>/ ` (也就是说你的仓库在 ` https://github.com/<USERNAME>/< REPO> ` ),则将 ` base ` 设置为 ` "/<REPO>/" ` 。
24
24
25
25
2 . 在你的项目中,创建一个如下的 ` deploy.sh ` 文件(请自行判断去掉高亮行的注释):
26
26
62
62
63
63
如果你打算发布到 ` https://<USERNAME or GROUP>.gitlab.io/ ` ,则可以省略这一步,因为 ` base ` 默认即是 ` "/" ` 。
64
64
65
- 如果你打算发布到 ` https://<USERNAME or GROUP>.gitlab.io/<REPO>/ ` (也就是说你的仓库在 ` https://gitlab.com/<USERNAME>/REPO> ` ),则将 ` base ` 设置为 ` "/<REPO>/" ` 。
65
+ 如果你打算发布到 ` https://<USERNAME or GROUP>.gitlab.io/<REPO>/ ` (也就是说你的仓库在 ` https://gitlab.com/<USERNAME>/< REPO> ` ),则将 ` base ` 设置为 ` "/<REPO>/" ` 。
66
66
67
67
2 . 在 ` .vuepress/config.js ` 中将 ` dest ` 设置为 ` public ` 。
68
68
3 . 在你项目的根目录下创建一个名为 ` .gitlab-ci.yml ` 的文件,无论何时你提交了更改,它都会帮助你自动构建和部署:
You can’t perform that action at this time.
0 commit comments