Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions docs/07-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,10 @@ Set `frontend/.env.local`'s `VITE_API_URL` to that URL to test against it.
### CI/CD

The `deploy-backend` job in `.github/workflows/ci.yml` runs
`supabase functions deploy` automatically on pushes to `main`, gated on a
`SUPABASE_ACCESS_TOKEN` repository secret (see below) - it does not deploy on
every PR.
`supabase functions deploy` automatically on pushes to `main` (not on PRs). It
needs the `SUPABASE_ACCESS_TOKEN` and `SUPABASE_PROJECT_REF` repository secrets
(see below); if either is unset the deploy steps are skipped with a notice and
the job still passes.

## Frontend Deployment

Expand Down Expand Up @@ -136,7 +137,7 @@ GitHub Actions workflow (`.github/workflows/ci.yml`) runs on each push:
the FastAPI app; Edge Function tests would use `deno test`, not yet added)
3. **Security Scan**: Trivy vulnerability scanning
4. **Deploy Frontend**: Automatic Vercel deployment (main branch)
5. **Deploy Backend**: `supabase functions deploy` (main branch)
5. **Deploy Backend**: `supabase functions deploy` (main branch; skipped if Supabase secrets unset)

### Required GitHub Secrets

Expand Down
Loading