laurilehmijoki / s3_website

Manage an S3 website: sync, deliver via CloudFront, benefit from advanced S3 website features.
Other
2.24k stars 187 forks source link

Excluding .txt files from upload is ignored and the files uploaded #211

Closed wgx closed 8 years ago

wgx commented 8 years ago

I have

exclude_from_upload: .txt

In my s3_website.yml - but files with *.txt in the root are still being uploaded on push.

laurilehmijoki commented 8 years ago

Hi @wgx, unfortunately I cannot repeat this problem.

Here's how I tested this: I have the file hello.txt.

_s3website.yml:

exclude_from_upload: .foo

s3_website push output:

[succ] Created hello.txt (public, max-age=120 | text/plain; charset=utf-8 | gzip)

When I change the config to

exclude_from_upload: .txt

... and run s3_website push for the second time, the output is

[succ] Deleted hello.txt

When I run push for the third time, the output is

[info] Summary: There was nothing to push
laurilehmijoki commented 8 years ago

Closing as inactive. Please reopen if needed.