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
Currently, in the [shared.php](deploy:shared) it gets the shared path as a child of the deploy path:
task('deploy:shared', function () {
$sharedPath = "{{deploy_path}}/shared";
...
}
We have a multi-site setup where the shared directory is a sibling of our other sites. It would be great if we could specify that sharedPath variable in deploy.php.
Thanks!
The text was updated successfully, but these errors were encountered:
Not sure I follow, in our setup our shared path does not reside within our deploy directory at all:
<root>/shared
-------site1
-------site2
<root>/site1
<root>/site2
So within the `deploy:shared` task, I would need to set the private variable `$sharedPath` (trying to avoid overriding the task if possible)
NOW I get what you want. I assumed, that the shared path is a variable you could use like {{shared_path}} and somewhere is a set('shared_path', function() {... }) - but this is not the case 😮
I think this is something worth implementing 🤔
Then you could just overwrite the set and do whatever you want.
Currently, in the
[shared.php](deploy:shared)
it gets the shared path as a child of the deploy path:We have a multi-site setup where the
shared
directory is a sibling of our other sites. It would be great if we could specify thatsharedPath
variable indeploy.php
.Thanks!
The text was updated successfully, but these errors were encountered: