Skip to content

Instantly share code, notes, and snippets.

@danielsdeleo
Created September 19, 2009 00:15
Show Gist options
  • Select an option

  • Save danielsdeleo/189362 to your computer and use it in GitHub Desktop.

Select an option

Save danielsdeleo/189362 to your computer and use it in GitHub Desktop.
# Example API For Cheffy Deploy Callbacks
deploy "some app" do
# boring stuff
before_migrate do
ruby_script "wizardry" do
# wizardry here
end
service "mysql" do
action :restart
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment