Skip to content

How to Deploy an Eleventy Site with Vercel

This guide will show you how to deploy an Eleventy site and get your domain set up.

Eleventy is a simpler static site generator, created to be a JavaScript alternative to Jekyll. To build an Eleventy site, start with a template:

Vercel is a platform for deploying the fastest Eleventy sites. You can deploy your site with zero configuration to the best frontend infrastructure.

  • Develop: Build Eleventy sites that connect to your favorite APIs, databases, and content management systems.
  • Preview: Integrate with any GitHub, GitLab, or Bitbucket repository for instant continuous deployment.
  • Ship: Deploy your site to every edge node worldwide for the fastest Eleventy sites. Static files, Serverless and Edge Functions, and more.

Vercel has integrations for GitHub, GitLab, and Bitbucket to enable CI/CD for your Eleventy site with zero configuration. Then, you can run automated tests for performance and reliability on every push. Pull and merge requests are deployed instantly to a unique URL, accessible to your entire team.

After deploying, your new Eleventy site will get automatically assigned a .vercel.app suffixed domain. You can then add a Custom Domain on your choice, either from a third-party or purchased through Vercel.

  1. Install the Vercel CLI and run vercel to deploy.
  2. Vercel will detect that you are using Eleventy and will enable the correct settings for your deployment.
  3. Your site is deployed! (e.g. eleventy-template.vercel.app)
  1. Push your code to your git repository (GitHub, GitLab, BitBucket).
  2. Import your Eleventy project into Vercel.
  3. Vercel will detect that you are using Eleventy and will enable the correct settings for your deployment.
  4. Your site is deployed! (e.g. eleventy-template.vercel.app)

Couldn't find the guide you need?