fix: let Vercel build remotely instead of building in Gitea runner
Deploy to Vercel / deploy (push) Successful in 1m57s

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Goutam0612
2026-06-25 01:54:49 +05:30
parent 0ebe27c0af
commit c9c2773f11
+4 -12
View File
@@ -1,6 +1,7 @@
name: Deploy to Vercel name: Deploy to Vercel
# Jab bhi 'revamp' branch pe push hoga, yeh automatically Vercel pe deploy kar dega # Jab bhi 'revamp' branch pe push hoga, yeh automatically Vercel pe deploy kar dega.
# Build Vercel ke servers pe hota hai (runner sirf code upload karta hai) — fast & reliable.
on: on:
push: push:
branches: branches:
@@ -23,17 +24,8 @@ jobs:
with: with:
node-version: "22" node-version: "22"
- name: Enable pnpm
run: corepack enable
- name: Install Vercel CLI - name: Install Vercel CLI
run: npm install -g vercel@latest run: npm install -g vercel@latest
- name: Pull Vercel project settings - name: Deploy to production (Vercel builds remotely)
run: vercel pull --yes --environment=production --token="$VERCEL_TOKEN" run: vercel deploy --prod --yes --token="$VERCEL_TOKEN"
- name: Build project
run: vercel build --prod --token="$VERCEL_TOKEN"
- name: Deploy to production
run: vercel deploy --prebuilt --prod --token="$VERCEL_TOKEN"