mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-23 16:54:08 +01:00
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:
parent
0e99b659ba
commit
62db938884
@ -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', '');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user