Skip to content

Instantly share code, notes, and snippets.

@nickh
Created November 5, 2010 18:35
Show Gist options
  • Select an option

  • Save nickh/664579 to your computer and use it in GitHub Desktop.

Select an option

Save nickh/664579 to your computer and use it in GitHub Desktop.
Continuous deployment using CruiseControl.rb
# A deploy "build" designed to be triggered by a successful CI build
Project.configure do |project|
project.triggered_by = [SuccessfulBuildTrigger.new(project, 'orbital')]
project.build_command = '../cruise_deploy.sh'
end
#!/bin/sh
ey deploy --ref=`git rev-parse HEAD`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment