You can use this boilerplate to power your github pages with Nextjs.
- Clone to your repository
- Set Source Branch to
gp-pagesand folder to/rootin repository Settings - Add an empty file with name
.nojekylltogh-pagesroot branch. - Star this repository ;)