We have finished building our next.js app with AWS Amplify authentication! Now we want to display our app for the world to see. We first need to create and push our code to a repository. Then, in the amplify console, we go to frontend environments and follow the prompts, click save and deploy, and you're done!
Instructor: [0:00] Let's deploy our server-side rendered Next.js app to AWS Amplify. First, create a GitHub repo. Then, push your code to the repository. Go to the Amplify Console for your app, switch it over to frontend environment, then choose GitHub. Select your repository and your branch.
[0:46] We'll use the staging backend environment. We'll also enable full-stack continuous deployment so that every time I push my code to GitHub, my frontend redeploys. Select a service rule. Click save and deploy. Your app will take a few minutes to deploy. Once it does, you can access your Next.js app. We pushed our application to GitHub and then we're able to deploy it to AWS Amplify.