Skip to content

Commit ff1d8f5

Browse files
committed
fix: let Vercel handle builds to avoid CI memory limits
1 parent 33b67e8 commit ff1d8f5

2 files changed

Lines changed: 3 additions & 18 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,8 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v4
1212

13-
- uses: pnpm/action-setup@v4
14-
15-
- uses: actions/setup-node@v4
16-
with:
17-
node-version: 20
18-
cache: pnpm
19-
20-
- run: pnpm install --frozen-lockfile
21-
22-
- name: Build and deploy
23-
run: |
24-
npx vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
25-
npx vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
26-
npx vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
13+
- name: Deploy to Vercel
14+
run: npx vercel deploy --prod --token=${{ secrets.VERCEL_TOKEN }}
2715
env:
2816
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
2917
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}

.github/workflows/sync-docs.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,7 @@ jobs:
4242
4343
- name: Deploy to Vercel
4444
if: steps.commit.outputs.changed == 'true'
45-
run: |
46-
npx vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
47-
npx vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
48-
npx vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
45+
run: npx vercel deploy --prod --token=${{ secrets.VERCEL_TOKEN }}
4946
env:
5047
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
5148
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}

0 commit comments

Comments
 (0)