Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .lagoon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,21 @@ tasks:
# Enable once config sync has been setup.
# - run:
# name: drush cim
# command: drush -y cim
# command: |
# if ! [[ "$(drush status --field=Database)" == "Connected" ]]; then drush si -y; fi
# service: cli
- run:
name: set up drupal-cms
command: if ! [[ $(drush status --field=Database) == "Connected" ]]; then drush si -y; fi
command: |
if ! [[ "$(drush status --field=Database)" == "Connected" ]]; then drush si -y; fi
service: cli
- run:
name: drush updb
command: drush -y updb
command: |
if [[ "$(drush status --field=Database)" == "Connected" ]]; then drush updb -y; fi
service: cli
- run:
name: drush cr
command: drush -y cr
command: |
if [[ "$(drush status --field=Database)" == "Connected" ]]; then drush -y cr; fi
service: cli