Closed fernandrone closed 4 years ago
Worth noting, there was a PR here from a coworker (https://github.com/drone-plugins/drone-s3/pull/34) that added content_type support which @tboerger reviewed but never got merged.
I have taken more or less the code of the plugin fork within https://github.com/drone-plugins/drone-s3/pull/63 to get this finally integrated.
Hey,
Currently this plugin does not support setting ContentType and ContentEnconding. At QuintoAndar we use this plugin to upload files to S3 which are then served to different web pages so this is necessary (and should be a pretty common use-case), and is one of the reasons I keep a fork here: https://github.com/quintoandar/drone-s3.
Drone S3 Sync currently supports them.
I have a Pull Request on the way but would like to consider a few points first.
I'm fine either way but would like to know if there's more interest in using regex over glob.
sync: true
that is false by default.