Skip Vercel Git builds to prevent duplicate production deploys.
GitHub Actions remains the sole deploy path after Supabase migrations; vercel.json ignoreCommand skips integration-triggered builds.
This commit is contained in:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -50,6 +50,8 @@ jobs:
|
||||
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
|
||||
|
||||
|
||||
4
vercel.json
Normal file
4
vercel.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"$schema": "https://openapi.vercel.sh/vercel.json",
|
||||
"ignoreCommand": "echo 'Skipping Git integration build; production deploys via GitHub Actions after Supabase migrations.' && exit 0"
|
||||
}
|
||||
Reference in New Issue
Block a user