You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone,
I've a little suggest about the configuration path, in my Symfony 5 project the Bundle search config in:
config/
packages/
prod/
deploy.php <- Here
routes/
secrets/
staging/
deploy.php <- Here
bootstrap.php
bundles.php
routes.yaml
services.yaml
It would seem preferable to :
config/
packages/
routes/
secrets/
bootstrap.php
bundles.php
deploy_prod.php <- Here
deploy_staging.php <- Here
routes.yaml
services.yaml
Or :
config/
deployments/ <- Same as packages/
prod/
deploy.php <- Here
staging/
deploy.php <- Here
packages/
routes/
secrets/
bootstrap.php
bundles.php
routes.yaml
services.yaml
This is write in EasyCorp\Bundle\EasyDeployBundle\Helper, the default behavior (LEGACY_CONFIG_DIR) is the one I expect, but 3 years ago a change was made to use subdir to put deploy.php inside a subdir. Someone know why this change was made ?
The text was updated successfully, but these errors were encountered:
I agree, also in the configuration example the path suggested is app/config/deploy_prod.php, but in reality when you run the deploy command in it says There is no config file to deploy 'env' env.
From the suggestions @mpiot gave above, I'll prefer config/deployments/ structure.
Hi everyone,
I've a little suggest about the configuration path, in my Symfony 5 project the Bundle search config in:
It would seem preferable to :
Or :
This is write in
EasyCorp\Bundle\EasyDeployBundle\Helper
, the default behavior (LEGACY_CONFIG_DIR) is the one I expect, but 3 years ago a change was made to use subdir to put deploy.php inside a subdir. Someone know why this change was made ?The text was updated successfully, but these errors were encountered: