Deploy with Netlify
1️⃣ Create a Netlify account
First, create an account on Netlify.
2️⃣ Configure Netlify
Then add the netlify cli:
npm install -g netlify-cli
To deploy your project to Netlify, you will need to add the
yarn add next-on-netlify
Follow the Next on Netlify Setup steps.
netlify build netlify deploy --prod
4️⃣ Update your environment variables
Once you have created your github repository and configured Netlify properly, you need to configure the
APP_URL environment variables with the URL of your Netlify application.
In your project setttings, go to "Environment Variables" and create the following:
Make sure to redeploy your application for the environment variables to be taken into account.