drone-s3-sync icon indicating copy to clipboard operation
drone-s3-sync copied to clipboard

Support for CloudFront invalidation with given path.

Open skydan opened this issue 7 years ago • 2 comments

Default "*" value for paths is better than nothing, but it'd be nice to have a way to manage it.

skydan avatar Aug 18 '18 00:08 skydan

I also need this feature. It would be great if the plugin would support something like

cloudfront:
  distribution: 9c5785d3ece6a9cdefa4
  invalidation_paths:
    - "index.html"
    - "somePath/**/*.js"

resulting in invalidation of index.html and all javascript files under the path somePath (while not touching other files).

m00k avatar Dec 20 '18 08:12 m00k

Feel free to provide a pr that extends https://github.com/drone-plugins/drone-s3-sync/blob/master/plugin.go#L146 :)

tboerger avatar Dec 23 '18 07:12 tboerger