Skip to content
Browse files

Fix Capistrano tasks when using deploy:migrations

  • Loading branch information...
1 parent f69d752 commit 02441550908ba1daf8f7679c75f1904ef07485bf @lautis lautis committed Dec 27, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/flowdock/capistrano.rb
View
6 lib/flowdock/capistrano.rb
@@ -56,8 +56,8 @@ def notification_message
end
end
- before "deploy", "flowdock:read_current_deployed_branch"
+ before "deploy:update_code", "flowdock:read_current_deployed_branch"
before "flowdock:notify_deploy_finished", "flowdock:set_flowdock_api"
- after "deploy", "flowdock:notify_deploy_finished"
- after "deploy", "flowdock:save_deployed_branch"
+ after "deploy:restart", "flowdock:notify_deploy_finished"
+ after "deploy:restart", "flowdock:save_deployed_branch"
end

0 comments on commit 0244155

Please sign in to comment.
Something went wrong with that request. Please try again.