Skip to content

Commit b289d7c

Browse files
rascaclaude
andcommitted
Add GitHub Actions CI/CD and gitignore
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4a9afe3 commit b289d7c

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/deploy.yml

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

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.vercel
2+
.DS_Store
3+
node_modules

0 commit comments

Comments
 (0)