fix(api): resolve mypy type errors; fix invalid jwt exception #26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |