1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-04-04 11:07:43 +08:00

feat: 新增vercel部署ci

This commit is contained in:
喜欢芝士的妹妹
2023-09-01 23:57:48 +08:00
committed by chufan
parent a0370c0e3b
commit bc59fea739
4 changed files with 964 additions and 1 deletions

24
.github/workflows/vercel-deploy.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
# 自动部署到vercel上
name: Vercel Deploy
on:
push:
branches:
- master
- next
pull_request:
branches:
- master
- next
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ngduc/vercel-deploy-action@master
with:
vercel-cli: vercel
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID}}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID}}
github-token: ${{ secrets.GITHUB_TOKEN }}

1
.gitignore vendored
View File

@@ -72,3 +72,4 @@ templete
/docs/.vuepress/.temp/
/docs/.vuepress/.cache/
/.husky/
.vercel

View File

@@ -51,6 +51,7 @@
"eslint-plugin-vue": "^9.9.0",
"husky": "^8.0.3",
"typescript": "^3.9.10",
"vercel": "^32.1.0",
"vue": "^3.2.47",
"vuepress": "2.0.0-beta.61",
"vuepress-plugin-search-pro": "2.0.0-beta.185",

939
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff