Skip to content

Commit

Permalink
add vercel ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
guyutongxue committed Dec 30, 2024
1 parent dda790c commit e0712d5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/vercel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Vercel Production Deployment
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
push:
branches:
- main
jobs:
Deploy-Production:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: vercel deploy --prod --token=${{ secrets.VERCEL_TOKEN }}

0 comments on commit e0712d5

Please sign in to comment.