28 Apr 2019

Netlify: Chain Build Commands

Netlify is a great tool to deploy your static website. You can use it to automatically deploy your site when you make a new commit to your Git repository. To build your website you need to specify a build command as seen in the picture below.

In case you want to execute multiple build commands in one build, you can chain them with the && operator. This could for example look like the following code snippet for a website using Yarn and Jekyll.

yarn && jekyll build