Skip to content

Commit 0fe3512

Browse files
committed
Changed file name
1 parent e3d7bd1 commit 0fe3512

File tree

3 files changed

+37
-46
lines changed

3 files changed

+37
-46
lines changed

.github/ci.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
2+
name: Deploy to Vercel
3+
4+
on:
5+
push:
6+
branches:
7+
- main # Trigger the action when you push to the 'main' branch
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v3
16+
17+
- name: Set up Node.js
18+
uses: actions/setup-node@v3
19+
with:
20+
node-version: '22' # Use the desired Node.js version
21+
22+
- name: Install dependencies
23+
run: npm install
24+
25+
- name: Build Next.js app
26+
run: npm run build
27+
28+
- name: Deploy to Vercel
29+
uses: amondnet/vercel-action@v20
30+
with:
31+
vercel-token: ${{ secrets.VERCEL_TOKEN }} # Use the Vercel token from GitHub secrets
32+
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }} # Vercel Organization ID
33+
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} # Vercel Project ID
34+
vercel-args: '--prod' # Deploy to production
35+
36+
- name: Check Vercel deployment status
37+
run: echo "Vercel Deployment Complete!"

0 commit comments

Comments
 (0)