I'm having a website with many big images file. The source (as well as the images) is maintained with git. I wish to deploy that via ftp to a bluehost-like cheap server.
I do not wish to deploy all the website each time (so that I won't have to upload too many unchanged files over and over), but to do roughly the following:
- In a git repository, mark the last deployed revision with a tag "deployed".
- When I say "deploy revision X", find out which files has changed between revision X and revision tagged as deploy, and upload just them.
It is similar in spirit to svn2web. But I want that for DVCS. Mercurial alternative will be considered.
It's a pretty simple script to write, but I'd rather not to reinvent the wheel if there's some similar script on the web.
Capistrano and fab seems to know only how to push the whole revision, in their SCM integration. So I don't think I can currently use them.