From the course: Learning Static Site Building with Jekyll

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Deploy your site with Netlify

Deploy your site with Netlify

From the course: Learning Static Site Building with Jekyll

Start my 1-month free trial

Deploy your site with Netlify

- [Instructor] Now we're ready to deploy the site for the first time. I'll pick the repository where my site files are stored. Normally you'll want to deploy from the master branch, which is the default here. And for Jekyll, the build command is jekyll build, which Netlify already pulled in for us. In my case, the published directory is public, instead of underscore site, because I've changed my Jekyll configuration. And that's all I need to do. I can click Deploy Site. After a few seconds, Netlify will finish building the site and then will give you a random preview link you can click on to view it. In addition to building the master branch, Netlify can also create preview deployments of your site for other branches, so you can easily preview changes before they go live.

Contents