Skip to content

Instantly share code, notes, and snippets.

View iltempo's full-sized avatar
🌈
Occasionally writing some code

Alexander Greim iltempo

🌈
Occasionally writing some code
View GitHub Profile
notify_deploy_environments = %w(staging production integration)
notify_deploy_roles = %w(solo app_master)
if notify_deploy_environments.include?(environment) && notify_deploy_roles.include?(current_role)
run "cd #{current_path} && bundle exec rake airbrake:deploy TO=#{environment} REVISION=#{revision} USER=`whoami` REPO=#{repo}"
end