mirror of https://github.com/status-im/consul.git
Use sync instead of put
This commit is contained in:
parent
f5ffa8fb79
commit
1001fe3d41
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue