Skip to content

Commit 82ee5c2

Browse files
authored
feat: 增加一键部署到 Netlify、增加一个镜像站 (#662)
1 parent 21bb5a1 commit 82ee5c2

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
[`nenufm.com`](https://www.nenufm.com/linux-command/)
110110
[`jiangyang.online`](https://linux.jiangyang.online/)
111111
[`xiyung.cn`](https://xiyung.cn/linux-command/)
112+
[`78888889.xyz`](https://linux-command.78888889.xyz/)
112113

113114
**其它 web 版本**
114115

@@ -178,6 +179,22 @@ http://localhost:9665/
178179

179180
通过 Vercel 分配的域名访问,或者自行在设置中绑定域名。
180181

182+
183+
## Netlify
184+
185+
可以点击下面按钮一键部署至 [Netlify](https://netlify.com):
186+
187+
[![Deploy to Netlify Button](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/jaywcjlove/linux-command)
188+
189+
<details>
190+
<summary>部署结果</summary>
191+
192+
![](./assets/netlify.png)
193+
194+
</details>
195+
196+
通过 Netlify 分配的域名访问,或者自行在设置中绑定域名。
197+
181198
## 宝塔面板
182199

183200
可通过宝塔面板应用商店快速部署 linux-command

assets/netlify.png

18.9 KB
Loading

netlify.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[build]
2+
command = "npm run build"
3+
publish = ".deploy
4+
"

template/contributors.ejs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@
218218
<a target="_blank" href="https://www.nenufm.com/linux-command/">nenufm.com</a>
219219
<a target="_blank" href="https://linux.jiangyang.online/">linux.jiangyang.online</a>
220220
<a target="_blank" href="https://xiyung.cn/linux-command/">xiyung.cn</a>
221+
<a target="_blank" href="https://linux-command.78888889.xyz/">78888889.xyz</a>
221222
</div>
222223
<h1>魔改网站</h1>
223224
<div class="links">

0 commit comments

Comments
 (0)