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

Delete option sometimes doesn't work as anticipated

Open matteosuppo opened this issue 8 years ago • 1 comments

It happens only sometimes that it deletes files that it shouldn't.

For example just today in the logs we had:

Uploading "/drone/src/github.com/matteosuppo/reference/public/en/index.html" with Content-Type "text/html; charset=utf-8" and permissions "public-read"
[...]
Removing remote file "reference/en/index.html"

where the config was

publish:
    s3_sync:
        acl: public-read
        region: "us-east-1"
        bucket: $$S3_BUCKET
        access_key: $$S3_ACCESS
        secret_key: $$S3_SECRET
        source: public
        delete: true
        target: reference
        when:
            branch: master

matteosuppo avatar Apr 18 '16 10:04 matteosuppo

Same issue here. Hope we can get this fix.

orangedeng avatar Jun 20 '22 06:06 orangedeng