Skip to content

Commit d287ab2

Browse files
committed
Offload Project Build to Vercel
1 parent ed8c415 commit d287ab2

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.github/deploy-ecosystem-configs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"projects": [
33
{
4-
"name": "reslens",
4+
"name": "Reslens",
55
"path": "ecosystem/monitoring/reslens",
66
"vercel_project_id": "prj_g5KA6QQ36ltVydRW6TUKJhgdgYjT"
77
}

.github/workflows/deploy-ecosystem.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -175,17 +175,11 @@ jobs:
175175
176176
vercel pull --yes --environment=production --token=$VERCEL_TOKEN || echo "Could not pull Vercel config, continuing..."
177177
178-
- name: Build Project
179-
working-directory: ${{ matrix.project.path }}
180-
env:
181-
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
182-
run: vercel build --prod --token=$VERCEL_TOKEN
183-
184178
- name: Deploy to Vercel
185179
working-directory: ${{ matrix.project.path }}
186180
env:
187181
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
188-
run: vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN
182+
run: vercel deploy --prod --token=$VERCEL_TOKEN
189183

190184
- name: Deployment Summary
191185
if: always()

0 commit comments

Comments
 (0)