1
0
mirror of https://github.com/videojs/video.js.git synced 2024-11-24 08:42:25 +02:00

chore: use aws s3 cp rather than sync (#7400)

Sync needs extra permissions, like ListObject, to function, but the keys
we have are the most minimal that are possible. Instead, we should copy
local files unconditionally.
This commit is contained in:
Gary Katsevman 2021-08-25 16:52:51 -04:00 committed by GitHub
parent 87d4dce5e6
commit dae1266bce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,4 +90,4 @@ jobs:
- name: Copy files to the CDN with the AWS CLI
run: |
aws s3 sync node_modules/video.js/dist/ s3://${S3_BUCKET}/${S3_KEY}/${VJS_VERSION}/ --acl ${S3_ACCESS}
aws s3 cp node_modules/video.js/dist s3://${S3_BUCKET}/${S3_KEY}/${VJS_VERSION}/ --acl ${S3_ACCESS} --recursive