Closed lucaciotti closed 6 days ago
Can’t tell what is wrong.
Ok I found out what disturbs my deploy ...
I state that I use Laravel 8 and I use your package for the deployment. The command I used for the deployment is:
vendor/bin/dep deploy production
Now the "sh" command contained in bin calls the execution of "deployer/bin/dep" ... here since beta 28 a block of code "// Find project-local Deployer installation" has been inserted.
However here the code calls the dep.sh file contained in "vendor/bin" and everything crashes ...
This piece of code is not clear to me.
Hope it helps to fix the problem.
The code is to have a global deployer installation but the correct version locally. It seems you have a deploy script(?), the question is, where is it and why is it used. If the name is dep.sh it shouldn’t be used.
Can you please rename the file (my-personal-sh something which doesn’t contain dep 😅) and try again?
This issue has been automatically closed. Please, open a discussion for bug reports and feature requests.
Read more: [https://github.com/deployphp/deployer/discussions/3888]
WIth the last update my deploy cmd fails:
Upvote & Fund