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 'git@example.org:project.git' | |
tunnel true | |
end | |
target :staging do | |
branch 'staging' | |
app 'user@staging.example.org' | |
db 'user@staging.example.org' | |
job 'user@staging.example.org' | |
end | |
target :production do | |
branch 'production' | |
app 'user@app.example.org' | |
db 'user@db.example.org' | |
job 'user@job.example.org' | |
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