CodeIssuesPull RequestsActionsSecurityInsights
✨ AI
More
Settings

feat(deploy): one-command Vapron deploy — script, runbook, gated CI job #4067

Merged⚡ AI-generatedXSccantynz wants to mergeclaude/code-audit-feature-gaps-acq2mvmainopened Jun 11, 2026
ccantynzcommented Jun 11, 2026

Originally written by @ccantynz-alt on GitHub.
Imported from https://github.com/ccantynz-alt/AlecRae.com/pull/64


Summary

Makes the Vapron migration one command away. The platform client (apps/api/src/lib/vapron.ts) and the one-app-from-root layout were already in place — what was missing was the deploy path itself and a go-live checklist.

  • bun run deploy:vapron (scripts/deploy-vapron.ts) — calls aiDeploy.quickDeploy({ repoUrl }) through the existing typed client; exits with a clear message when VAPRON_API_KEY is missing
  • docs/infra/vapron-go-live.md — full runbook: the one blocker (the vpk_* key, Craig-only), production env vars (matching assertProductionEnv), db:migrate, api.alecrae.com cutover, verification, and decommission plan for the interim Vercel path
  • standalone-deploy.yml — new Deploy via Vapron job, gated on repo variable ENABLE_VAPRON_DEPLOY=true + secret VAPRON_API_KEY; skipped (green) until both are set
  • CLAUDE.md next-action #16 rewritten (was "Deploy to Crontec"): key is the only blocker

To go live (Craig)

  1. Get VAPRON_API_KEY from the Vapron dashboard
  2. VAPRON_API_KEY=vpk_... bun run deploy:vapron — or set the GH secret + ENABLE_VAPRON_DEPLOY=true for continuous deploys
  3. Follow docs/infra/vapron-go-live.md §3–6 (env vars, migrate, domain, verify)

Docs check green (50/50 stamped). No runtime code touched — script + docs + gated CI only.

https://claude.ai/code/session_013mN1D3m3P95nke5gceVegG


Generated by Claude Code

ccantynzcommented Jun 11, 2026

Originally written by @vercel[bot] on GitHub.


Deployment failed with the following error:

There is no GitHub account connected to this Vercel account.
ccantynzcommented Jun 11, 2026

Originally written by @vercel[bot] on GitHub.


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

Project Deployment Actions Updated (UTC)
alec-rae-com-admin Ready Ready Preview, Comment Jun 11, 2026 10:09pm

Cross-repo impact

See what breaks downstream if this PR merges.

Analyze →
⮌ Merged

This pull request was merged into main.

c comment · e edit title · m merge · a approve · r request changes · ? shortcuts