From bf32730443dd0f9cee9ef59e50d58e83b9f20bd3 Mon Sep 17 00:00:00 2001 From: Tom Akehurst Date: Wed, 3 Jan 2024 21:06:14 +0000 Subject: [PATCH] Quietened down the workflow a bit --- deploy-amplify.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy-amplify.sh b/deploy-amplify.sh index a2f32470..b9934aa4 100755 --- a/deploy-amplify.sh +++ b/deploy-amplify.sh @@ -3,12 +3,12 @@ set -eo pipefail rm -f wiremock-org-amplify.zip -zip -r wiremock-org-amplify.zip _site/* +zip -q -r wiremock-org-amplify.zip _site/* deploymentData=$(aws amplify create-deployment --app-id d1rkup1qsf4ckf --branch-name prod) jobId=$(echo $deploymentData | jq -r '.jobId') uploadUrl=$(echo $deploymentData | jq -r '.zipUploadUrl') -curl -v -X PUT -H 'content-type:application/zip' -T wiremock-org-amplify.zip "$uploadUrl" +curl -X PUT -H 'content-type:application/zip' -T wiremock-org-amplify.zip "$uploadUrl" aws amplify start-deployment --app-id d1rkup1qsf4ckf --job-id $jobId --branch-name prod \ No newline at end of file