Skip to content

Commit 5087f1d

Browse files
tianzhouclaude
andcommitted
chore: use Vercel deploy hook instead of auto deployment
Disable automatic git-triggered deployments via vercel.json and add a GitHub Actions workflow to trigger deployment via hook on main push and manual dispatch. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 49df3a6 commit 5087f1d

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Deploy to Vercel
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Trigger Vercel Deploy Hook
14+
run: curl -s -X POST "https://api.vercel.com/v1/integrations/deploy/prj_S70AajXvkWSEz2yU1NvcvfZpmm1g/y3wAh0IwTP"

vercel.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"git": {
3+
"deploymentEnabled": false
4+
}
5+
}

0 commit comments

Comments
 (0)