Skip to content

Commit

Permalink
Update README.markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Chad Clark committed May 2, 2014
1 parent 5af022a commit 2ddf6c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ set :slack_room, "#general"
set :slack_subdomain, "kohactive" # if your subdomain is kohactive.slack.com
set :slack_deploy_defaults, true #gem provides the standared before and after callbacks deploy:starting and deploy:finished deploy of set to false and provide your own.
#example slack:starting and slack:finished are the only defaults provided in the gem.
```ruby

before 'deploy', 'slack:starting'
after 'deploy', 'slack:finished'
```


# optional
set :slack_application, "Rocketman"
Expand All @@ -46,12 +46,12 @@ namespace :slack do
task :start do
@migration_start_time = Time.now
msg = "Running Migrations"
connect(msg)
slack_connect(msg)
end
task :end do
elapsed_time = Time.now.to_i - @migration_start_time.to_i if @migration_start_time
msg = "Migrations finished in #{elapsed_time} seconds"
connect(msg)
slack_connect(msg)
end
end
before "deploy:migrate", "slack:migration:start"
Expand Down

0 comments on commit 2ddf6c4

Please sign in to comment.