feat(website): migrate deployment from GitHub Pages to Vercel#394
Conversation
- Add output: 'export' and images.unoptimized for static site generation - Update workflow artifact path from dist to out (Next.js export output dir) - Restore CNAME file to preserve gosqlx.dev custom domain on deploy Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Build WASM in CI (requires Go), then deploy prebuilt output to Vercel - Vercel project: gosqlx-website (prj_dC5W1JVnUjCEZ25UQS4XqyXKSwPV) - Custom domain gosqlx.dev configured on Vercel project - Drop pages/id-token permissions, no longer needed Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Claude finished @ajitpratap0's task —— View job PR Review: Vercel Deployment MigrationCompleted comprehensive review of the Vercel deployment migration. Here's my detailed feedback: Todo List:
Review Feedback✅ Strengths1. Security Implementation
2. Performance & Architecture
3. Deployment Strategy
|
Static export was added for GitHub Pages but breaks Vercel features (headers, redirects, sitemap route). Vercel handles SSR natively. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix(website): enable Next.js static export for GitHub Pages deployment - Add output: 'export' and images.unoptimized for static site generation - Update workflow artifact path from dist to out (Next.js export output dir) - Restore CNAME file to preserve gosqlx.dev custom domain on deploy Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(website): migrate deployment from GitHub Pages to Vercel - Build WASM in CI (requires Go), then deploy prebuilt output to Vercel - Vercel project: gosqlx-website (prj_dC5W1JVnUjCEZ25UQS4XqyXKSwPV) - Custom domain gosqlx.dev configured on Vercel project - Drop pages/id-token permissions, no longer needed Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(website): remove output: export — not needed for Vercel deployment Static export was added for GitHub Pages but breaks Vercel features (headers, redirects, sitemap route). Vercel handles SSR natively. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Ajit Pratap Singh <ajitpratapsingh@Ajits-Mac-mini-2655.local> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Summary
gosqlx.devalready configured on the Vercel project via APISecrets added to repo
VERCEL_TOKENVERCEL_ORG_ID—team_klPgpjd82c4qAcIqX1r6IDSQVERCEL_PROJECT_ID—prj_dC5W1JVnUjCEZ25UQS4XqyXKSwPVDeploy flow
vercel pull— syncs env vars from Vercel projectvercel build --prod— runs Next.js build with Vercel optimizationsvercel deploy --prebuilt --prod— ships the output to Vercel CDN🤖 Generated with Claude Code