Skip to content
Snippets Groups Projects
Commit 8fdfb439 authored by jurgenhaas's avatar jurgenhaas
Browse files

If first drush command during deployment fails, then run "drush cr" any try again

parent 9a4be7f7
No related branches found
No related tags found
No related merge requests found
......@@ -595,7 +595,7 @@ Debug:
- grep "users_data" /tmp/test.log || EC=$?
- if [[ $EC -ne 0 ]]; then INITIAL="yes"; fi
- rm /tmp/test.log >/dev/null 2>&1 || true
- if [[ "$INITIAL" == "no" ]]; then drush -y sset system.maintenance_mode 1; fi
- if [[ "$INITIAL" == "no" ]]; then drush -y sset system.maintenance_mode 1 || drush cr && drush -y sset system.maintenance_mode 1; fi
- cd -
- cd web/sites/default
- rm files
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment