Skip to content

Instantly share code, notes, and snippets.

@ddollar
Created March 13, 2009 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ddollar/78585 to your computer and use it in GitHub Desktop.
Save ddollar/78585 to your computer and use it in GitHub Desktop.
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