Use sync instead of put

This commit is contained in:
Seth Vargo 2016-01-13 19:41:22 -05:00
parent f5ffa8fb79
commit 1001fe3d41
1 changed files with 1 additions and 1 deletions

View File

@ -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.