legacy-cli icon indicating copy to clipboard operation
legacy-cli copied to clipboard

platform drush-aliases -r creates aliases with wrong docroot

Open sanddevil opened this issue 5 years ago • 1 comments

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

sanddevil avatar Mar 14 '19 14:03 sanddevil

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.

pjcdawkins avatar Mar 18 '19 11:03 pjcdawkins