Skip to content

Commit c94d149

Browse files
committed
fix: add deployment file
1 parent 253a63a commit c94d149

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/deploy.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Deploy to Vercel
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Setup Node.js
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: '22'
18+
cache: 'npm'
19+
20+
- name: Install dependencies
21+
run: npm install
22+
23+
- name: Deploy to Vercel
24+
uses: amondnet/vercel-action@v25
25+
with:
26+
vercel-token: ${{ secrets.VERCEL_TOKEN }}
27+
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
28+
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
29+
vercel-args: '--prod'

0 commit comments

Comments
 (0)