karlfreeman/middleman-deploy — pull request #69 by MinasMazar (2014-07-09 14:10:15+00:00)
Title: Add git-credentials features

Add
> deploy.credentials = :cache_helper
> deploy.credentials_timeout = 3600

to config.rb of your static site and you'll have to insert your credentials once in a hour.

Don't know if the design pattern is the best to ensure a sort of extensibility to use credentials also with other methods (rsync, ftp). However it seems to run properly.