From 870786db8aa08de931d6b88fb087cc99a78de63b Mon Sep 17 00:00:00 2001 From: hpz937 <421012+hpz937@users.noreply.github.com> Date: Thu, 7 Oct 2021 16:16:43 -0500 Subject: [PATCH] fix typo added missing fi that cause script to fail --- deploy-zdd.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/deploy-zdd.sh b/deploy-zdd.sh index 41f10e3..bc6e23a 100644 --- a/deploy-zdd.sh +++ b/deploy-zdd.sh @@ -19,6 +19,8 @@ if [[ "$status_code" -ne 200 ]] ; then echo "Site not active $status_code please push script again" else echo "\e[41m****Beginning Indexing****"; -n98-magerun2 sys:cron:run indexer_reindex_all_invalid; -n98-magerun2 sys:cron:run indexer_update_all_views; -/usr/share/stratus/cli crons.start + n98-magerun2 sys:cron:run indexer_reindex_all_invalid; + n98-magerun2 sys:cron:run indexer_update_all_views; + /usr/share/stratus/cli crons.start; + echo "\e[41m****Activity Completed please visit store and test****"; +fi