Some interesting tasks in deploy.rb
:
In the deploy
namespace:
$ cap deploy:upload FILES=templates,controller.rb
Copy files to the currently deployed version. This is useful for updating
files piecemeal, such as when you need to quickly deploy only a single
file. Some files, such as updated templates, images, or stylesheets,
might not require a full deploy, and especially in emergency situations
it can be handy to just push the updates to production, quickly.
$ cap deploy:restart
A blank task exists as a hook into which to install your own environment
specific behaviour.