Skip to content

fix(api): resolve mypy type errors; fix invalid jwt exception #26

fix(api): resolve mypy type errors; fix invalid jwt exception

fix(api): resolve mypy type errors; fix invalid jwt exception #26

Workflow file for this run

name: Deploy API
on:
push:
branches: [main]
paths:
- 'apps/api/**'
concurrency:
group: deploy-api
cancel-in-progress: false
jobs:
deploy:
name: Deploy to Vercel
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
# Vercel builds the FastAPI function remotely from uv.lock. ORG/PROJECT ids
# link the deploy to the mapple-api project without a committed .vercel dir.
- name: Deploy to Vercel
run: npx vercel@latest deploy --prod --yes --token="$VERCEL_TOKEN"
working-directory: apps/api
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_API_PROJECT_ID }}