From e4ffb710299c66e05e3a0353ed3a6498306ad284 Mon Sep 17 00:00:00 2001 From: Ofer Shaal Date: Wed, 9 Feb 2022 11:02:53 -0500 Subject: [PATCH] Composer, Drush si, should run during prebuild --- .gitpod.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 1e02fe3fa2f8..56fff5550502 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -6,12 +6,13 @@ tasks: init: | docker build -t devwithlando/php:8.0-apache-4 . docker build -t devwithlando/phpmyadmin:5.1.1 . - command: | lando start lando composer require drush/drush lando composer install chmod ug+w -R /workspace/drupal-dev-environment/sites/default/ lando drush si -y --account-pass=admin --site-name='lando_drupal9' --db-url=mysql://drupal9:drupal9@database/drupal9 demo_umami + command: | + lando start gp preview $(gp url $(lando info --format=json | jq -r ".[0].urls[0]" | sed -e 's#http://localhost:\(\)#\1#')) ports: @@ -43,4 +44,4 @@ vscode: - tombonnike.vscode-status-bar-format-toggle - usernamehw.errorlens - mblode.twig-language - - skippednote.VS-code-drupal \ No newline at end of file + - skippednote.VS-code-drupal