Deploying your Next.js site to Vercel

Follow

The easiest way to deploy a Next.js website to production is to use Vercel from the creators of Next.js. Vercel is an all-in-one platform with Global CDN supporting static & Jamstack deployment and Serverless Functions. With a Deploy to Vercel button right inside your Agility CMS Manager, you can get your Next.js and Agility CMS website deployed with a Preview Environment set up within minutes!

Deploy Via Deploy to Vercel button

Deploying your Next.js and Agility CMS site to Vercel is super easy with the Deploy to Vercel button integrated into your Agility CMS Manager.

Upon clicking the Deploy to Vercel button, you'll be prompted to enter the URL of a Git repository to deploy it. The provided URL is the repository for the Agility CMS + Next.js Starter.

Screen_Shot_2020-09-25_at_10.02.14_AM.png

Select your Vercel account, and proceed to Create a Git Repository to make sure you can easily update your project after deploying it. Every push to this Git repository will automatically be deployed to Vercel.

Screen_Shot_2020-09-25_at_10.05.17_AM.png

The final step before we can deploy our project is to provide Vercel with the Required Environment Variables your site needs so it can authenticate and retrieve data from your Agility CMS instance.

Screen_Shot_2020-09-25_at_10.07.20_AM.png

Need help finding your keys?

Retrieving your API Key(s), Guid, and API URL

Screen_Shot_2020-09-25_at_10.12.33_AM.png

 🎉  Congratulations! You've successfully deployed your Next.js and Agility CMS website to Vercel!

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.