Cookbook -------------------- # Multi environment deploy ``` ruby # deploy.rb set :domain, '...' task :staging do set :deploy_to, 'home/deploy/www/app-staging/' set :rails_env, 'staging' set :branch, 'develop' end task :production do set :deploy_to, 'home/deploy/www/app/' set :rails_env, 'production' set :branch, 'master' end task :deploy do ... end ``` ``` $ mina staging deploy $ mina production deploy ``` ------------------------------- \* *feel free to add your own recipes*