Use this stack to create a repository containing a Next.js web application that's deployed to Github Pages.
You can use this stack to create a preconfigured repository, complete with a starter Next.js web application, and a live deployment, in just a few minutes.
Next.js gives you a great developer experience with all the features you need for production: hybrid static & server rendering, TypeScript support, smart bundling, route pre-fetching and more. You can start coding straight away, and view the deployed site without having to do any manual configuration.
This stack also sets up the repository, ready for you to get to work. It:
- Creates a
main
branch - Creates repository topics
- Sets some branch rules
- Creates GitHub Actions workflows to provide CI/CD automation
When you run this stack you will need to input:
- The version of Node.js you want to use. You can choose either
v12.22.4
orv14.17.4
.
None
React version 17.0.2
GitHub Pages
After running this stack, on the Code page of your repository, under "Environments", click github-pages then, on the Deployments page, click View deployment.
Learn more about Next.js. Documentation: https://nextjs.org/docs.
Learn more about Github Pages.