environments.md: reference the build command options that allows multiple config files (#7266)
Merge pull request 7266
This commit is contained in:
parent
e59ff78f9d
commit
096afbeee4
|
@ -41,3 +41,9 @@ environment but not include it in production environments.
|
|||
|
||||
By specifying the option in the build command, you avoid having to change
|
||||
values in your configuration files when moving from one environment to another.
|
||||
|
||||
<div class="note info">
|
||||
<p>
|
||||
To switch part of your config settings depending on the environment, use the <a href="/docs/configuration/options/#build-command-options">build command option</a>, for example <code>--config _config.yml,_config_development.yml</code>. Settings in later files override settings in earlier files.
|
||||
</p>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue