Invalid drush.yaml
Sam Faragalla
Hi All,
I’m running a Drupal 8 project, standard composer setup. I have few Drush commands running on the deployment hook and they were working fine for a long time, after adding varnish cache, I start getting the r=error below:
Executing deploy hook for application APP_NAME
Failed to find a site URL
The file exists but may be invalid: /app/.drush/drush.yml
Is that a side effect of using varnish, Is there a way around that.
Thanks
0
Comments
A bit of a late reply but nice to have if you google upon it.
The problem is most likely that no upstream routes are going into the app. Possible the use of redirectionio agent or varnish.
the `platformsh_generate_drush_yml.php` script can't deal with that.
But you can kinda make it work by just getting the first upstream route yourself and writing that to the yml
That doesn’t sound like usual behavior. You’re best off filing a support ticket and letting them take a look.
Please sign in to leave a comment.