Update symfony4.php (#1907)

The .env and .env.<environment> files should be committed to the shared repository because they are the same for all developers and machines. However, the env files ending in .local (.env.local and .env.<environment>.local) should not be committed because only you will use them. In fact, the .gitignore file that comes with Symfony prevents them from being committed.

https://symfony.com/doc/current/configuration.html#managing-multiple-env-files
This commit is contained in:
Nicolás González 2019-08-16 12:58:53 +02:00 committed by Anton Medvedev
parent 0e99b659ba
commit 62db938884

View File

@ -10,7 +10,7 @@ namespace Deployer;
require_once __DIR__ . '/common.php';
set('shared_dirs', ['var/log', 'var/sessions']);
set('shared_files', ['.env.local']);
set('shared_files', ['.env']);
set('writable_dirs', ['var']);
set('migrations_config', '');