Deploy Eleventy with ZEIT Now

Create an Eleventy website and deploy it live with ZEIT Now.

Eleventy is a simpler static site generator, created to be a JavaScript alternative to Jekyll.

Step 1: Set Up Your Eleventy Project

Set up an Eleventy site with npx and move into the project directory:

npx degit 11ty/eleventy-base-blog my-11ty-project && cd my-11ty-project

Initializing an Eleventy site with npx and moving into the project directory.

Step 2: Deploying Your Eleventy Site with ZEIT Now

With an Eleventy site set up, it is ready to deploy live with Now.

Using Now CLI, deploy your website with a single command:

now

Deploying your Eleventy site with Now CLI.

If you want to deploy your Eleventy site when you push to a Git repository, you can use either Now for GitHub or Now for GitLab to have your project automatically deployed on every push, and the production domain updated on push to master.



Written By
Written by msweeneydevmsweeneydev
on October 22nd 2019