ci: add vercel deploy (#485)

* ci: add vercel config file to override `outputDirectory` to `.deploy`

https://vercel.com/docs/concepts/projects/project-configuration#outputdirectory

* docs(readme.md): add vercel deploy description
This commit is contained in:
jqz3.tech 2023-04-14 15:52:15 +08:00 committed by GitHub
parent e9f8d577b1
commit d90937cf69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 0 deletions

View File

@ -152,6 +152,21 @@ docker run --name linux-command -itd -p 9665:3000 ghcr.io/jaywcjlove/linux-comma
http://localhost:9665/ http://localhost:9665/
``` ```
## Vercel
可以点击下面按钮一键部署至 [Vercel](https://vercel.com):
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/jaywcjlove/linux-command)
<details>
<summary>部署结果</summary>
![](./assets/vercel.png)
</details>
通过 Vercel 分配的域名访问,或者自行在设置中绑定域名。
## 目录 ## 目录
- [目录](#目录) - [目录](#目录)

BIN
assets/vercel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

3
vercel.json Normal file
View File

@ -0,0 +1,3 @@
{
"outputDirectory": ".deploy"
}