Course lesson

Deploy a Next.js App to Vercel From GitHub with Environment Variables

Building apps take time and when we get to deployment, we don't want to be slowed down by manual builds and complicated infrastructure.

Duration
7 min
Access
Free
Transcript
Retained from source evidence

Building apps take time and when we get to deployment, we don't want to be slowed down by manual builds and complicated infrastructure.

Vercel makes deploying modern web apps easy by handling all the steps including pulling in the latest changes on your Git repository, building it up, and deploying it out to the world.

We'll walk through importing a Next.js project to Vercel using an existing GitHub repository and configure it to deploy to Vercel. In order to allow us to configure our Snipcart API key per environment, we'll set up environment variables in our Vercel deploy to store our API key.