| Q | A
| ----------------- | ---
| Issue Type | Question
| Deployer Version | 6.1.0
| Local Machine OS | Ubuntu 16.04
| Remote Machine OS | N/A
It seems like using add in a host overwrites the global shared_dirs configuration.
Is that an expected behavior?
Set global shared_dirs and then add new dirs per host.
The global shared_dirs are not created during deployment.
In the example below, public/global/dir would not be created.
deploy.phpadd('shared_dirs', [
'public/global/dir',
]);
host('production')
->add('shared_dirs', [
'public/specific/host/dir',
]);
Will fix it in v6.2
Actually this requires some major refactoring, so I think it will go to v7. :(
...and now it's fixed!!!!