Skip to content

Add Vercel preview deployment support - #3

Closed
dragosandreibobu wants to merge 5 commits into
mainfrom
agent/vercel-preview-deployments
Closed

Add Vercel preview deployment support#3
dragosandreibobu wants to merge 5 commits into
mainfrom
agent/vercel-preview-deployments

Conversation

@dragosandreibobu

Copy link
Copy Markdown
Contributor

What changed

  • configure Vercel to load the existing FastAPI application from app.main:app
  • add a GitHub Actions workflow that runs pytest on pull requests and pushes to main
  • document the preview-deployment workflow

Why

This gives each pull request two complementary checks:

  1. an automated Python test status from GitHub Actions
  2. a temporary Vercel Preview Deployment URL once the repository is imported into Vercel

Validation

  • confirmed the configured ASGI entry point matches the existing FastAPI app
  • validated the new TOML configuration syntax
  • reviewed the branch diff against main

One-time Vercel step

Import curricula-live/api as a Vercel project and keep main as the production branch. Vercel will then attach preview deployments automatically to this and future pull requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant