Open richardhj opened 3 days ago
Add task to run dump-env on deployment
[ ] Docs added?
Please, regenerate docs by running next command: $ php bin/docgen
As recommended on https://symfony.com/doc/current/deployment.html#b-configure-your-environment-variables
Run composer dump-env on every deployment.
composer dump-env
The $APP_ENV shall be automatically when using set('dotenv', '{{deploy_path}}/shared/.env.local'); in the deploy.php file.
$APP_ENV
set('dotenv', '{{deploy_path}}/shared/.env.local');
Kindly request review from @garak @Tobion
Add task to run dump-env on deployment
[ ] Docs added?
Please, regenerate docs by running next command: $ php bin/docgen
As recommended on https://symfony.com/doc/current/deployment.html#b-configure-your-environment-variables
Run
composer dump-env
on every deployment.The
$APP_ENV
shall be automatically when usingset('dotenv', '{{deploy_path}}/shared/.env.local');
in the deploy.php file.