Skip to content

Commit 42d277b

Browse files
nwparkerorca-ide
andcommitted
Add Vercel production deploy workflow
Co-authored-by: Orca <help@stably.ai>
1 parent 53d85d5 commit 42d277b

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Deploy to Vercel
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
concurrency:
9+
group: vercel-deploy
10+
cancel-in-progress: false
11+
12+
env:
13+
VERCEL_ORG_ID: team_I2S9KH3oBWzZQTDmKvMRxu4u
14+
VERCEL_PROJECT_ID: prj_Jhs9UNAgij38lMz5JvOPKi5EyybB
15+
16+
jobs:
17+
deploy:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- uses: actions/setup-node@v4
23+
with:
24+
node-version: 22
25+
26+
- name: Install Vercel CLI
27+
run: npm install -g vercel
28+
29+
- name: Pull Vercel project settings
30+
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
31+
32+
- name: Build
33+
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
34+
35+
- name: Deploy
36+
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}

0 commit comments

Comments
 (0)