environments.md: reference the build command options that allows multiple config files (#7266)

Merge pull request 7266
This commit is contained in:
Tobias 2018-09-22 14:51:34 +02:00 committed by jekyllbot
parent e59ff78f9d
commit 096afbeee4
1 changed files with 6 additions and 0 deletions

View File

@ -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>