feat: 更新 CI 工作流,添加构建项目的注释
This commit is contained in:
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -14,7 +14,7 @@ jobs:
|
||||
# cname-cn.vercel.com cname-china.vercel-dns.com
|
||||
- name: 拉取 Vercel 环境信息
|
||||
run: pnpm exec vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
|
||||
- name: 构建项目
|
||||
- name: 构建项目 # vite build
|
||||
run: pnpm exec vercel build --target=production --token=${{ secrets.VERCEL_TOKEN }}
|
||||
env:
|
||||
VITE_BUILD_COMMIT: ${{ github.sha }}
|
||||
|
Reference in New Issue
Block a user