Skip to content
/ deploy--pages Public template

Next.js template to deploy to Pages as a static site.

NotificationsYou must be signed in to change notification settings

nextjs/deploy--pages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy Next.js to Pages

This is a Next.js template which can be deployed to Pages as a static site.

Deploying to Pages

  1. Create a new public repository
  2. Push the starter code to the main branch
  3. On , go to Settings > Pages > Source, and choose Actions as the source
  4. Make a commit and push it to see the changes on Pages

Congratulations! You should have a URL like:

https://<-user-name>..io/<-project-name>/

For more information, see our deployment documentation.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js repository - your feedback and contributions are welcome!