Skip to content

Commit 8554ecb

Browse files
committed
Use remote Vercel deploy in workflow
1 parent f40da51 commit 8554ecb

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

.github/workflows/deploy-vercel.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ jobs:
4141
with:
4242
node-version: "20"
4343

44-
- name: Set up uv
45-
if: ${{ env.VERCEL_TOKEN != '' && env.VERCEL_ORG_ID != '' && env.VERCEL_PROJECT_ID != '' }}
46-
uses: astral-sh/setup-uv@v6
47-
4844
- name: Install Vercel CLI
4945
if: ${{ env.VERCEL_TOKEN != '' && env.VERCEL_ORG_ID != '' && env.VERCEL_PROJECT_ID != '' }}
5046
run: npm install --global vercel@latest
@@ -53,10 +49,6 @@ jobs:
5349
if: ${{ env.VERCEL_TOKEN != '' && env.VERCEL_ORG_ID != '' && env.VERCEL_PROJECT_ID != '' }}
5450
run: vercel pull --yes --environment=production --token="${VERCEL_TOKEN}"
5551

56-
- name: Build
57-
if: ${{ env.VERCEL_TOKEN != '' && env.VERCEL_ORG_ID != '' && env.VERCEL_PROJECT_ID != '' }}
58-
run: vercel build --prod --token="${VERCEL_TOKEN}"
59-
6052
- name: Deploy
6153
if: ${{ env.VERCEL_TOKEN != '' && env.VERCEL_ORG_ID != '' && env.VERCEL_PROJECT_ID != '' }}
62-
run: vercel deploy --prebuilt --prod --token="${VERCEL_TOKEN}"
54+
run: vercel deploy --prod --yes --token="${VERCEL_TOKEN}"

0 commit comments

Comments
 (0)