Skip to content

Commit 4c81cf9

Browse files
authored
feat: switch CI to use drush deploy instead of individual commands
1 parent 6cd94cc commit 4c81cf9

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.ci/deploy/pantheon/dev-multidev

+2-10
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,8 @@ fi
2323
# Wake the environment to make sure the database is reachable.
2424
terminus -n env:wake "$TERMINUS_SITE.$TERMINUS_ENV"
2525

26-
# Update the Drupal database
27-
terminus -n drush "$TERMINUS_SITE.$TERMINUS_ENV" -- updatedb --no-cache-clear -y
28-
29-
# If exported configuration is available, then import it.
30-
if [ -f "web/profiles/custom/yalesites_profile/config/sync/system.site.yml" ] ; then
31-
terminus -n drush "$TERMINUS_SITE.$TERMINUS_ENV" -- config-import --yes
32-
fi
33-
34-
# Clear Drupal cache
35-
terminus -n drush "$TERMINUS_SITE.$TERMINUS_ENV" -- cr
26+
# Run drush deploy - updb, cr, cim, cr, deploy:hook
27+
terminus -n drush "$TERMINUS_SITE.$TERMINUS_ENV" -- deploy -v -y
3628

3729
# Clear the environment cache
3830
terminus -n env:clear-cache "$TERMINUS_SITE.$TERMINUS_ENV"

0 commit comments

Comments
 (0)