-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Setting uri in drush.yml does not set the base uri #3121
Comments
This doesn't seem to work in all cases. |
Perhaps related #3166
|
Including a drush.yml file in ./web/sites/default and adding the following in that file doesn't seem to get picked up:
However, it does works if I add it in ./vendor/drush/drush/drush.yml. But as @basvdheijden also notes, sub-directories are not included. I am using the versions below. (note: I am using Drush Launcher):
Result:
|
sites/default is not a valid place for setting uri. site specific dirs are loaded its too late in the bootstrap. use ./drush/drush.yml |
Thanks @weitzman, that works perfectly. Sub-paths are still ignored though. ./drush/drush.yml, content:
Result:
|
That sounds like #3166 |
Ah yes, I will follow that issue for a solution to ignored sub-paths, thanks. |
Added a
drush.yml
file to all of these location, containing the following:Locations:
Based on the example.drush.yml file: https://github.com/drush-ops/drush/blob/master/examples/example.drush.yml#L92
Expected result:
The uri should be set, for example for
uli
commands.The text was updated successfully, but these errors were encountered: