Skip to content

Commit 6f56963

Browse files
committed
fix: 移除 CI 中的 Vercel 部署步骤,改为构建验证
1 parent 0c83624 commit 6f56963

1 file changed

Lines changed: 10 additions & 11 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
name: Deploy to Vercel
1+
name: CI
22

33
on:
44
push:
55
branches: [main]
6+
pull_request:
7+
branches: [main]
68
workflow_dispatch:
79

810
jobs:
9-
deploy:
11+
build:
1012
runs-on: ubuntu-latest
1113
steps:
1214
- uses: actions/checkout@v4
@@ -24,14 +26,11 @@ jobs:
2426
- name: Install dependencies
2527
run: pnpm install
2628

29+
- name: Build CLI
30+
run: pnpm --filter @antv/aimapui-cli build
31+
2732
- name: Build site
28-
run: pnpm build:site
33+
run: pnpm --filter @antv/aimapui-site build
2934

30-
- name: Deploy to Vercel
31-
uses: amondnet/vercel-action@v25
32-
with:
33-
vercel-token: ${{ secrets.VERCEL_TOKEN }}
34-
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
35-
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
36-
vercel-args: '--prod'
37-
working-directory: ./dist-site
35+
- name: Verify dist-site
36+
run: ls -la dist-site/

0 commit comments

Comments
 (0)