From 1001fe3d414d2f57401cf20cafa643955750d4b2 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Wed, 13 Jan 2016 19:41:22 -0500 Subject: [PATCH] Use sync instead of put --- website/scripts/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/scripts/deploy.sh b/website/scripts/deploy.sh index b747ac3c9e..aad99fc6cf 100755 --- a/website/scripts/deploy.sh +++ b/website/scripts/deploy.sh @@ -60,7 +60,7 @@ if [ -z "$NO_UPLOAD" ]; then --recursive \ --add-header="Cache-Control: max-age=31536000" \ --add-header="x-amz-meta-surrogate-key: site-$PROJECT" \ - put "$DIR/build/" "s3://hc-sites/$PROJECT/latest/" + sync "$DIR/build/" "s3://hc-sites/$PROJECT/latest/" fi # Perform a soft-purge of the surrogate key.