Before we deploy, let’s push our Next.js app to GitHub if you haven’t done so already. This will make deployment easier.
nextjs-blog
.Then:
To push to GitHub, you can run the following commands (replace <username>
with your GitHub username):
git remote add origin https://github.com/<username>/nextjs-blog.git git push -u origin master
Once your GitHub repository is ready, continue to the next page.