cloudflare / Stout

A reliable static website deploy tool
MIT License
751 stars 29 forks source link

Optionally ignore certain filetypes #38

Open eberkund opened 7 years ago

eberkund commented 7 years ago

Hi, first of all great project :)

It would be good if you could ignore certain files such as Thumbs.db and .DS_Store, Stout keeps uploading these OS generated index files to S3 which is not the best.

renandincer commented 7 years ago

Good point. Thanks for the issue @eberkund.

I'll leave it here to implement in the future.

renandincer commented 7 years ago

@eberkund in the meantime recursively deleting unwanted files in your directory might be a good option before uploads. (something like this https://medium.com/@danilosapad/how-to-recursively-remove-ds-store-files-on-mac-os-x-6c8570c68ad0#.w67gncnvr)

tmcpro commented 7 years ago

for some projects it uploads the .git directory into the s3 bucket.