-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.lagoon.yml
More file actions
29 lines (26 loc) · 840 Bytes
/
.lagoon.yml
File metadata and controls
29 lines (26 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
docker-compose-yaml: docker-compose.yml
project: drupal-cms-example
tasks:
# pre-rollout:
# - run:
# name: drush sql-dump
# command: mkdir -p /app/web/sites/default/files/private/ && drush sql-dump --ordered-dump --gzip --result-file=/app/web/sites/default/files/private/pre-deploy-dump.sql.gz || true
# service: cli
post-rollout:
# Enable once config sync has been setup.
# - run:
# name: drush cim
# command: drush -y cim
# service: cli
- run:
name: set up drupal-cms
command: if ! [[ $(drush status --field=Database) == "Connected" ]]; then drush si -y; fi
service: cli
- run:
name: drush updb
command: drush -y updb
service: cli
- run:
name: drush cr
command: drush -y cr
service: cli