1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-04-04 19:17:49 +08:00

fix: 修复Github Release异常

This commit is contained in:
chu fan
2023-09-28 16:43:24 +08:00
parent 65c3d77198
commit c3de0bae09

View File

@@ -85,7 +85,7 @@ jobs:
deploy-vercel:
name: "部署到Vercel平台"
needs: install-init
runs-on: ubuntu-latest
runs-on: macos-latest
if: github.repository == '142vip/408CSFamily'
steps:
- name: Checkout Code
@@ -105,7 +105,7 @@ jobs:
## 注意安装pnpm
- name: Build Project Artifacts
run: npm i pnpm -g && vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
@@ -119,6 +119,11 @@ jobs:
if: github.repository == '142vip/408CSFamily' && startsWith(github.event.head_commit.message, 'chore(release):')
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
# “最近更新时间” 等 git 日志相关信息,需要拉取全部提交记录
fetch-depth: 0
### 打成压缩包
- name: Create Zip Package