Created
March 13, 2009 14:41
-
-
Save ddollar/78585 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configuration do | |
application 'test-application' | |
path "/srv/app/test/#{application}" | |
repository '[email protected]:project.git' | |
tunnel true | |
end | |
target :staging do | |
branch 'staging' | |
app '[email protected]' | |
db '[email protected]' | |
job '[email protected]' | |
end | |
target :production do | |
branch 'production' | |
app '[email protected]' | |
db '[email protected]' | |
job '[email protected]' | |
end | |
after :update do | |
rake 'sample:task' | |
run 'touch tmp/restart.txt' | |
sudo 'make_me_a_sandwich' | |
end | |
before :live do | |
rake 'live:prepare' | |
ruby 'script/ruby-runner' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment