octopress / deploy

Deployment for Octopress and Jekyll blogs.
MIT License
75 stars 23 forks source link

S3 upload always deploys all files, even if unchanged #44

Closed fehwalker closed 9 years ago

fehwalker commented 9 years ago

Would be nice if there was a way to only deploy changed files, not sure how feasible it is (I'll investigate).

fehwalker commented 9 years ago

I think the most consistent way to do this is to add a md5 sum to the S3 metadata for each file, and fetch and compare it for every file uploaded.

I think the logic is like this:

Hopefully the head() request is not too slow...

imathis commented 9 years ago

I believe this has been closed by #44. Please let me know if you feel otherwise.