File tree Expand file tree Collapse file tree 2 files changed +5
-15
lines changed
Expand file tree Collapse file tree 2 files changed +5
-15
lines changed Original file line number Diff line number Diff line change 1- if [ ! -z $LAGOON ]; then
2- # Do not touch database on Lagoon
3- exit 0
4- fi
5-
6- if [ ! -z $SKIP_DRUPAL_INSTALL ]; then
7- exit 0
8- fi
9-
101set -e
11-
122if ! test -f web/sites/default/files/.sqlite; then
133 pnpm drupal-install
144else
155 pnpm drush deploy -y
166fi
17-
18- # In any case, re-import translation string.
19- pnpm import-translations
20- pnpm drush cr
Original file line number Diff line number Diff line change 2222 "inputs" : [" config/**" ],
2323 "outputs" : [" web/sites/default/files/.sqlite" ]
2424 },
25+ "import-translations" : {
26+ "dependsOn" : [" config:import" , " @custom/ui#prep:i18n" ],
27+ "outputs" : [" web/sites/default/files/.sqlite" ]
28+ },
2529 "prep:composer" : {
2630 "inputs" : [
2731 " composer.json" ,
4145 ]
4246 },
4347 "clear" : {
44- "dependsOn" : [" config: import" , " ^prep" ],
48+ "dependsOn" : [" import-translations " , " ^prep" ],
4549 "cache" : false
4650 },
4751 "dev" : {
You can’t perform that action at this time.
0 commit comments