laurilehmijoki/s3_website

Posts with "flash" in the file name get excluded in S3 upload

ctives opened this issue · 1 comments

I had a post that contained the word flashlight in the filename that would not upload to S3. The post could work when I was testing in my local environment and it was being generated in the _sites folder. I tried a wide assortment of word combinations for the filename to realize it was the text flash that was the problem.

I am closing this issue, because it is not valid. The reason I was having this issue was because of the exclude_from_upload parameter in the s3_website.yml file. I had a value of .sh in order to not upload my shell script. The .sh was matching with "flashlight". I assume the pattern matching is ignoring the period within the string and is just matching on the sh. I updated my s3_website.yml file to use deploy.sh as the string to match on and my posts are now uploading to s3 correctly.