Hi, when deploying with mage, I would like to install composer dependencies without dev, but bin/console is executed with dev environment because:
$env = $input->getParameterOption(['--env', '-e'], getenv('SYMFONY_ENV') ?: 'dev');
It seems that parameter symfony: { env: 'prod' } is not taken into consideration. Shouldn't be better to change environment at beginning of deploy and reset it at exit?
Also, deploying alters our local vendor folder, wouldn't be better to use a temporary directory?
Hi, when deploying with mage, I would like to install composer dependencies without dev, but bin/console is executed with dev environment because:
$env = $input->getParameterOption(['--env', '-e'], getenv('SYMFONY_ENV') ?: 'dev');
It seems that parameter
symfony: { env: 'prod' }
is not taken into consideration. Shouldn't be better to change environment at beginning of deploy and reset it at exit? Also, deploying alters our local vendor folder, wouldn't be better to use a temporary directory?Many thanks for your work!