From d35b4e57d9b928ef3c71a4d59fabaf8db9469100 Mon Sep 17 00:00:00 2001 From: Harkamal Randhawa Date: Sun, 24 May 2026 07:44:52 -0600 Subject: [PATCH] Enable Vercel Git deploys for main only. Disable staging branch deployments in vercel.json and drop the redundant GitHub Actions Vercel deploy step to avoid double production builds. --- .github/workflows/deploy.yml | 12 ------------ vercel.json | 4 +--- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index dee2c3a..aa79ff8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -49,15 +49,3 @@ jobs: env: SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }} run: supabase db push --linked --include-seed - - # Sole production deploy path. vercel.json ignoreCommand skips Git-triggered - # Vercel builds so pushes do not produce a duplicate deployment. - - name: Set up Vercel CLI - run: npm install --global vercel@54.4.1 - - - name: Deploy to Vercel production - env: - VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} - VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} - VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} - run: vercel deploy --prod --yes --token "$VERCEL_TOKEN" diff --git a/vercel.json b/vercel.json index d1449f9..25eed43 100644 --- a/vercel.json +++ b/vercel.json @@ -2,9 +2,7 @@ "$schema": "https://openapi.vercel.sh/vercel.json", "git": { "deploymentEnabled": { - "main": false, "staging": false } - }, - "ignoreCommand": "echo 'Git integration builds disabled; production deploys via GitHub Actions on main only.' && exit 0" + } }