Skip to content

chore: add /api/health and point Railway healthcheck to it #11

chore: add /api/health and point Railway healthcheck to it

chore: add /api/health and point Railway healthcheck to it #11

Workflow file for this run

name: Deploy to Vercel
on:
push:
branches: [ main, feature/ecommerce-complete ]
pull_request:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build application
run: npm run build
- name: Deploy to Vercel
uses: amondnet/vercel-action@v25
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.ORG_ID }}
vercel-project-id: ${{ secrets.PROJECT_ID }}
vercel-args: '--prod'