upload_s3: sync already-existing dir to its destination (#167)
Rather than uploading the same files to S3 twice, upload once and then sync the directory to its other destination.
This commit is contained in:
parent
31af68b23c
commit
eebb77900f
1 changed files with 1 additions and 1 deletions
|
@ -34,4 +34,4 @@ for file in $(find "$GITHUB_SHA" -type f); do
|
||||||
done
|
done
|
||||||
|
|
||||||
aws s3 sync "$GITHUB_SHA"/ s3://"$AWS_BUCKET"/"$GITHUB_SHA"/ --acl public-read
|
aws s3 sync "$GITHUB_SHA"/ s3://"$AWS_BUCKET"/"$GITHUB_SHA"/ --acl public-read
|
||||||
aws s3 sync "$GITHUB_SHA"/ s3://"$AWS_BUCKET"/"$DEST"/ --acl public-read
|
aws s3 sync s3://"$AWS_BUCKET"/"$GITHUB_SHA"/ s3://"$AWS_BUCKET"/"$DEST"/ --acl public-read
|
||||||
|
|
Loading…
Reference in a new issue