Skip to content

Instantly share code, notes, and snippets.

@ddollar
Created March 13, 2009 14:41
Show Gist options
  • 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 '[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