Skip to content

Add production GitHub deploy (migrate then Vercel) - #52

Open
eliteprox wants to merge 1 commit into
mainfrom
feat/vercel-production-github-deploy
Open

Add production GitHub deploy (migrate then Vercel)#52
eliteprox wants to merge 1 commit into
mainfrom
feat/vercel-production-github-deploy

Conversation

@eliteprox

Copy link
Copy Markdown
Collaborator

Summary

  • Moves the production deploy path out of Add mcp_assets Drizzle migration #50: GitHub Actions vercel pull → optional pnpm db:migratevercel build --prod / deploy --prebuilt --prod / promote.
  • vercel.json ignoreCommand skips native Git production builds; preview Git deploys still run.
  • Migrate is skipped when drizzle/meta/_journal.json is missing, so this can merge before Add mcp_assets Drizzle migration #50.

Neon

Production and preview already share the same forked Neon branch. Point GitHub environment vercel / production DATABASE_URL at that fork (direct/unpooled). Do not use waitlist primary main (br-wild-boat-auv00x69).

mcp_assets has no FKs. #50 uses CREATE TABLE IF NOT EXISTS plus the same unique/indexes as the live table, so migrate on the fork is a no-op if the table already exists.

Enable

  1. Repo variable VERCEL_PRODUCTION_AUTO_DEPLOY=true (only after secrets are set — otherwise Git prod builds stop and Actions does not take over).
  2. GitHub environment vercel / production secrets: VERCEL_TOKEN, DATABASE_URL.
  3. Merge Add mcp_assets Drizzle migration #50 next so the journal exists and migrate actually runs.

Test plan

  • pnpm typecheck (main tree)
  • Confirm VERCEL_PRODUCTION_AUTO_DEPLOY stays false until secrets + Add mcp_assets Drizzle migration #50 are ready
  • Preview Git deploys still run; production Git builds are skipped (ignoreCommand)
  • After Add mcp_assets Drizzle migration #50: workflow_dispatch against the shared fork; mcp_assets still exists; waitlist primary journal stays at 0000–0004

Skip native Git production builds so Actions is the only prod path.
Migrate is a no-op until a drizzle journal exists, so this can land
before the mcp_assets schema PR.
@vercel

vercel Bot commented Sep 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
console Ready Ready Preview Sep 5, 2026 5:22am UTC

Request Review

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