-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not share same dirs #995
Comments
Its trying to insure that you're not sharing both a parent (like 'img/news') and a directory within that parent (like 'img/news/subdir'). Maybe it needs to something like:
|
Yes, it's a bug. @pbudzon correct. |
Can anybody create PR to fix it? Ref: https://github.com/deployphp/deployer/blob/master/recipe/deploy/shared.php#L19 @greatwitenorth for temp solution you can change dir name from this:
to this:
|
Fixed. |
I have similar problem with latest version... My config: set('shared_dirs', ['web/uploads', 'web/medias', 'web/media']); And exception says: [Deployer\Exception\ConfigurationException]
Can not share same dirs `web/medias` and `web/media`. |
It looks like they haven't tagged a release yet with this change. @Elfet Any word on when this will make it into a release? |
But in the changelog there is information about this fix |
@greatwitenorth will release it today. |
Description
I'm seeing this error when Deployer is trying to create the shared folders:
Steps to reproduce
I use the following command:
vendor/bin/dep deploy:shared staging -vvv
and I see the error:
It appears as though there's a strpos match happening in
vendor/deployer/deployer/recipe/deploy/shared.php
on line 19. I'm not sure why partial matches should be throwing an exception. Shouldn't it only be exact matches?Content of
deploy.php
Output log
The text was updated successfully, but these errors were encountered: