Skip to content

Commit

Permalink
Merge branch 'YALB-1465-drush-deploy' into YALB-85-profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
codechefmarc committed Jul 24, 2023
2 parents 4dab662 + 4c81cf9 commit 4d7a581
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .ci/deploy/pantheon/dev-multidev
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4d7a581

Please sign in to comment.