Skip to content

Commit

Permalink
ci: add vercel deploy (#485)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Coder-ZJQ authored Apr 14, 2023
1 parent e9f8d57 commit d90937c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,21 @@ docker run --name linux-command -itd -p 9665:3000 ghcr.io/jaywcjlove/linux-comma
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 分配的域名访问,或者自行在设置中绑定域名。

## 目录

- [目录](#目录)
Expand Down
Binary file added assets/vercel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"outputDirectory": ".deploy"
}

0 comments on commit d90937c

Please sign in to comment.