Skip to content
guillermo edited this page Sep 14, 2010 · 1 revision

Multi stage is easy as define one task:

For example:


deploy.application = "my_app" deploy.deploy_to = "/apps/my_app" deploy.repository = "ssh://[email protected]/my_repo.git" deploy.host = "my_production_machine"

task :staging do
deploy.host = “my_staging_machine”

  1. or
    deploy.deploy_to = “/apps/my_app_staging”
    end

And then run:


$ rake staging deploy

Clone this wiki locally