diff --git a/scripts/install.sh b/scripts/install.sh index 0afacf21..825bb1af 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -310,7 +310,7 @@ fi echo -e "\n\nFHIR Works is deploying. A fresh install will take ~20 mins\n\n" ## Deploy to stated region -serverless deploy --region $region --stage $stage +serverless deploy --region $region --stage $stage || { echo >&2 "Failed to deploy serverless application."; exit 1; } ## Output to console and to file Info_Output.yml. tee not used as it removes the output highlighting. echo -e "Deployed Successfully.\n"