đź“ť Edit page
âž• Add page
Configure
Topics
Pages
Content
How to set up a Netlify build using the UI or a config file
Why use a config file
You don’t need a config file. You can configure values in the UI including build command and output directory.
But for repeatable builds (across Netlify accounts or sites) and for keeping the value in version control, a config file in your repo is great. It will override the UI options.
Note that either way you don’t need to specify an install command or caching dependencies - Netlify will do this for you based on the presence of a package file - Gemfile or yarn.lock file for example.
Resources
See Netlify’s docs to configure builds