mirror of
https://github.com/jaywcjlove/reference.git
synced 2025-08-24 23:38:32 +08:00
doc: Add one-click deployment to Netlify (#1001)
* Update README.md add 78888889.xyz 镜像 * feat: 增加 Netlify 一键部署
This commit is contained in:
@@ -707,8 +707,11 @@ Quick Reference
|
|||||||
[131414.xyz](https://reference.131414.xyz/)<!--rehype:target=_blank&class=contributing&data-info=境外CDN-->
|
[131414.xyz](https://reference.131414.xyz/)<!--rehype:target=_blank&class=contributing&data-info=境外CDN-->
|
||||||
<!--rehype:class=home-card home-links-->
|
<!--rehype:class=home-card home-links-->
|
||||||
|
|
||||||
如果你有资源,可以很方便[部署 web 版](https://github.com/jaywcjlove/reference/issues/102#issue-1451649637),这非常简单,只需要克隆 [gh-pages](https://github.com/jaywcjlove/reference/tree/gh-pages) 分支代码到你的静态服务就可以了,还可以使用 [docker](https://hub.docker.com/r/wcjiang/reference) 快捷部署 web 版。
|
## 部署
|
||||||
|
如果你有资源,可以很方便[部署 web 版](https://github.com/jaywcjlove/reference/issues/102#issue-1451649637)
|
||||||
|
- GitHub Pages:这非常简单,只需要克隆 [gh-pages](https://github.com/jaywcjlove/reference/tree/gh-pages) 分支代码到你的静态服务就可以了
|
||||||
|
- [Docker](https://hub.docker.com/r/wcjiang/reference) :快捷部署 web 版。
|
||||||
|
- 一键部署到 [Netlify](https://app.netlify.com/start/deploy?repository=https://github.com/jaywcjlove/reference)
|
||||||
|
|
||||||
## 其它资源
|
## 其它资源
|
||||||
<!--rehype:wrap-style=text-align: center;max-width: 650px;margin: 0 auto;&class=home-title-reset-->
|
<!--rehype:wrap-style=text-align: center;max-width: 650px;margin: 0 auto;&class=home-title-reset-->
|
||||||
|
3
netlify.toml
Normal file
3
netlify.toml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[build]
|
||||||
|
command = "npm run build"
|
||||||
|
publish = "dist"
|
Reference in New Issue
Block a user