Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Yii2 advanced app receipe :
The shared step create empty config in shared & link.
After that the "init" phase create the config file in their place.
I've inversed the order to be able for the 1st deployment a valid config file without manual edition.
Shared /deploy/shared.php
When a shared_file is not present in shared, but present in release we use it as reference.
An exemple for yii2 receipe :
-> Init phase create for exemple "/common/config/main-local.php"
-> Shared phase now copy this file in the shared dir, remove it from release and create the link.
The file is now non empty in shared and the yii2 app is functional
If the file exist in shared, no copy and same as usal.