s3-sync-action
s3-sync-action copied to clipboard
Using aws cp instead of aws sync
I am currently using this fork https://github.com/tpaschalis/s3-cp-action which essentially boils down to being able to cp a single file up to S3 instead of syncing a whole dir's contents.
It requires less permissions on the S3 side so you can use it in write-only mode which is quite nice as that ensures the build system will not be able to list or read or delete any other objects in the bucket.
Just thought it might be nice if this action allowed cp too optionally, then the fork wouldn't be needed and duplication is reduced.
Actually you can use https://github.com/aws-actions/configure-aws-credentials and do what ever you want with AWS