Skip to content

Merge pull request #13 from chimobi-justice/check #16

Merge pull request #13 from chimobi-justice/check

Merge pull request #13 from chimobi-justice/check #16

Workflow file for this run

name: Vercel Production Deployment
on:
push:
branches:
- main
jobs:
deploy-production:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Vite and dependencies
run: npm install
- name: Build Project with Vite
run: npm run build
- name: Install Vercel CLI
run: npm install --global vercel
- name: Deploy to Vercel
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_ORG_PROJECT }}
run: vercel --prod --token ${{ secrets.VERCEL_TOKEN }}