From 4c81cf95376d3685cecf7433d8d26e99f853e1b0 Mon Sep 17 00:00:00 2001 From: Vincent Massaro Date: Mon, 24 Jul 2023 13:16:01 -0400 Subject: [PATCH] feat: switch CI to use drush deploy instead of individual commands --- .ci/deploy/pantheon/dev-multidev | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.ci/deploy/pantheon/dev-multidev b/.ci/deploy/pantheon/dev-multidev index ff2f266fa9..a6887bca9e 100755 --- a/.ci/deploy/pantheon/dev-multidev +++ b/.ci/deploy/pantheon/dev-multidev @@ -23,16 +23,8 @@ fi # Wake the environment to make sure the database is reachable. terminus -n env:wake "$TERMINUS_SITE.$TERMINUS_ENV" -# Update the Drupal database -terminus -n drush "$TERMINUS_SITE.$TERMINUS_ENV" -- updatedb --no-cache-clear -y - -# If exported configuration is available, then import it. -if [ -f "web/profiles/custom/yalesites_profile/config/sync/system.site.yml" ] ; then - terminus -n drush "$TERMINUS_SITE.$TERMINUS_ENV" -- config-import --yes -fi - -# Clear Drupal cache -terminus -n drush "$TERMINUS_SITE.$TERMINUS_ENV" -- cr +# Run drush deploy - updb, cr, cim, cr, deploy:hook +terminus -n drush "$TERMINUS_SITE.$TERMINUS_ENV" -- deploy -v -y # Clear the environment cache terminus -n env:clear-cache "$TERMINUS_SITE.$TERMINUS_ENV"