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:
9
.github/workflows/CD.yaml
vendored
9
.github/workflows/CD.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user