legacy-cli
legacy-cli copied to clipboard
platform drush-aliases -r creates aliases with wrong docroot
Issuing a platform drush-aliases -r
command generates the aliases for my project, but the docroot directory is created incorrectly in ~/.drush/panalign.site.yml and ~/.drush/panalign.aliases.drushrc.php.
In *.site.yml
root: /var/www/html/panalign-composer/_www
instead of web
at the end.
and in *.aliases.drushrc.php
'root' => '/var/www/html/panalign-composer/_www'
instead of web
at the end.
I am using platform cli 3.40.5
The intention is that you would need to run platform build
to build a local doc root. The CLI will run your build hook(s) mimicking how they would run on platform.sh servers, and it will create _www
as a symlink to the built site. Depending on the structure of your repository, that might even be a symlink back to web
.