Add production GitHub deploy (migrate then Vercel) - #52
Open
eliteprox wants to merge 1 commit into
Open
Conversation
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.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
5 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
vercel pull→ optionalpnpm db:migrate→vercel build --prod/deploy --prebuilt --prod/promote.vercel.jsonignoreCommandskips native Git production builds; preview Git deploys still run.drizzle/meta/_journal.jsonis 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 / productionDATABASE_URLat that fork (direct/unpooled). Do not use waitlist primarymain(br-wild-boat-auv00x69).mcp_assetshas no FKs. #50 usesCREATE TABLE IF NOT EXISTSplus the same unique/indexes as the live table, so migrate on the fork is a no-op if the table already exists.Enable
VERCEL_PRODUCTION_AUTO_DEPLOY=true(only after secrets are set — otherwise Git prod builds stop and Actions does not take over).vercel / productionsecrets:VERCEL_TOKEN,DATABASE_URL.Test plan
pnpm typecheck(main tree)VERCEL_PRODUCTION_AUTO_DEPLOYstays false until secrets + Add mcp_assets Drizzle migration #50 are readyignoreCommand)workflow_dispatchagainst the shared fork;mcp_assetsstill exists; waitlist primary journal stays at 0000–0004