Skip to content

Commit 582723c

Browse files
committed
docs(cn): add surge deploy instructions (#352)
1 parent b52e3d1 commit 582723c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/zh/guide/deploy.md

+10
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,13 @@ pages:
120120
```
121121

122122
3. 在执行了 `yarn docs:build` 或 `npm run docs:build` 后, 使用 `firebase deploy` 指令来部署。
123+
124+
## Surge
125+
126+
1. 首先,假设你已经安装了 [surge](https://www.npmjs.com/package/surge);
127+
128+
2. 运行 `yarn docs:build` 或者 `npm run docs:build`;
129+
130+
3. 想要使用 surge 来部署,你可以运行: `surge docs/.vuepress/dist`;
131+
132+
你也可以通过 `surge docs/.vuepress/dist yourdomain.com` 来部署到 [自定义域名](http://surge.sh/help/adding-a-custom-domain)。

0 commit comments

Comments
 (0)