This is a Next.js version of the connorn.dev homepage, ready for deployment on GitHub Pages.
npm install
npm run dev# Set env var for GitHub Pages
export GITHUB_PAGES=true
npm run build
npm run exportnpm run deployThis will build, export, and push the static site to the gh-pages branch using the gh-pages package.
- Make sure your repo name matches the
basePathandassetPrefixinnext.config.js(currently set to/homepage). - All static assets (images, favicon, PDF) should be placed in the
public/directory.