Skip to content

Commit

Permalink
Merge pull request #60 from kmwhite/adding_namespaces_to_cap3_tasks
Browse files Browse the repository at this point in the history
Adding namespaces to hipchat.rake before and after hooks
  • Loading branch information
zsiddique committed Dec 20, 2013
2 parents ada00e7 + 4c5c2ba commit b2ca4a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/hipchat/capistrano/tasks/hipchat.rake
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ namespace :hipchat do
fetch(:hipchat_env, fetch(:rack_env, fetch(:rails_env, fetch(:stage))))
end

before 'deploy:starting', :notify_deploy_started
after 'deploy:finished', :notify_deploy_finished
before 'deploy:starting', 'hipchat:notify_deploy_started'
after 'deploy:finished', 'hipchat:notify_deploy_finished'
if Rake::Task.task_defined? 'deploy:failed'
after 'deploy:failed', :notify_deploy_reverted
after 'deploy:failed', 'hipchat:notify_deploy_reverted'
end

end

0 comments on commit b2ca4a5

Please sign in to comment.