fix: let Vercel build remotely instead of building in Gitea runner
Deploy to Vercel / deploy (push) Successful in 1m57s
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:
@@ -1,6 +1,7 @@
|
||||
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:
|
||||
push:
|
||||
branches:
|
||||
@@ -23,17 +24,8 @@ jobs:
|
||||
with:
|
||||
node-version: "22"
|
||||
|
||||
- name: Enable pnpm
|
||||
run: corepack enable
|
||||
|
||||
- name: Install Vercel CLI
|
||||
run: npm install -g vercel@latest
|
||||
|
||||
- name: Pull Vercel project settings
|
||||
run: vercel pull --yes --environment=production --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"
|
||||
- name: Deploy to production (Vercel builds remotely)
|
||||
run: vercel deploy --prod --yes --token="$VERCEL_TOKEN"
|
||||
|
||||
Reference in New Issue
Block a user