Skip to content

Commit

Permalink
Quietened down the workflow a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
tomakehurst committed Jan 3, 2024
1 parent 066ce54 commit bf32730
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy-amplify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bf32730

Please sign in to comment.