This is the repository for my personal website which is built with Next.js and hosted using GitHub Pages. I wrote a blog post about hosting a static Next.js site on GitHub pages.
While much of the content and code is for personal use, if you would like an easy to setup and deploy website or blog, the structure is available to view here.
To run local development server:
npm install
npm run dev
Deploying is automatic whenever any commits are pushed to the main
branch. It is managed through GitHub Actions and the workflow is here.