From 7e36874a6e6367dc740387e6035ac63e5012cbe7 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen.haas@lakedrops.com>
Date: Wed, 30 Aug 2023 16:32:31 +0200
Subject: [PATCH] Wait a few seconds before initially install a new site

---
 test-and-deploy.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test-and-deploy.yml b/test-and-deploy.yml
index 7745fe7..6e4cb9f 100644
--- a/test-and-deploy.yml
+++ b/test-and-deploy.yml
@@ -633,7 +633,7 @@ Debug:
     - if [[ "$INITIAL" == "no" ]]; then drush -y deploy:hook; fi
     - if [[ "$INITIAL" == "no" ]]; then drush -y sset system.maintenance_mode 0; fi
     - if [[ "$INITIAL" == "no" ]]; then drush -y cache-rebuild; fi
-    - if [[ "$INITIAL" == "yes" ]]; then ${INITIAL_SETUP_COMMAND}; fi
+    - if [[ "$INITIAL" == "yes" ]]; then sleep 10; ${INITIAL_SETUP_COMMAND}; fi
     - if [[ -d ./crontabs ]]; then docker compose restart cron || true; fi
   rules:
     - if: '$DISABLE_DEPLOYMENT != "0"'
-- 
GitLab