× press ESC to close

Continuous Deployment

Chris Bach posted this on September 17, 2015

Continuous Deployment is one of the key features that sets Netlify apart.

With all other hosting services you need to build this yourself or pay for and install 3rd party software.

What is it?

Basically it means that we build, configure and deploy your site every time you push to git (be it a self-hosted repo, GitLabs, Bitbucket or of course GitHub). So you don’t have to do anything manually.

A sidenote: Many people confuse Continuous Deployment with Continuous Integration. So just to clarify, the latter refers to making merges in your repository and to running a test server that makes sure an automatic test is run every time you update that repository.

So how does it work?

You can setup continuous deployment in just a few seconds via Netlify’s web UI or CLI tool. Pick the repository you want Netlify to deploy and just set your build command and the directory you want to deploy after the build is done. In most cases though, Netlify will simply guess your configuration once you select the repository.

Netlify will then install all your dependencies, run your build command of choice and deploy the result. And from then on, Netlify builds and deploys your site every time you push to git.

What else can we tell you?

  • Webhooks & notifications Whether you need to trigger a build & deploy through a webhook or receive notifications on new deploys, Netlify has got you covered.

  • Cached Dependencies Dependencies (rubygems, npm, etc) are automatically installed and cached between builds to keep build time down.

  • Secure Environment We never store any GitHub tokens on our servers and your builds are run in a completely locked down environment.

Is everyone else using it?

All our agency clients and the more heavy weight web developers tend use continuous deployment, as it regulates and eases the workflow a ton.

Questions?

Write them in the comments below, or ask and we’ll do our best to answer.


About Netlify

Netlify is an all-in-one platform for deploying and automating modern web projects.

Simply push and Netlify provides everything—servers, CDN, continuous delivery, HTTPS, staging environments, prerendering, asset post processing, DNS, and more.

Any project, big or small, can perform instantly on a global scale.

Don’t let your site be slow and vulnerable.