You can use this boilerplate to power your github pages with Nextjs.
- Clone to your repository
- Set Source Branch to
gp-pages
and folder to/root
in repository Settings - Add an empty file with name
.nojekyll
togh-pages
root branch. - Star this repository ;)