
Next.js Static Export to GitHub Pages: A Production Setup Guide
How to configure Next.js 15 static export and deploy to GitHub Pages with a custom domain. Covers App Router, basePath, react-markdown blog pipeline, GitHub Actions CI/CD, and common pitfalls.
10 min read