lib/slackistrano/tasks/slack.rake in slackistrano-3.1.0 vs lib/slackistrano/tasks/slack.rake in slackistrano-3.1.1
- old
+ new
@@ -1,27 +1,33 @@
namespace :slack do
namespace :deploy do
+ desc 'Notify about updating deploy'
task :updating do
Slackistrano::Capistrano.new(self).run(:updating)
end
+ desc 'Notify about reverting deploy'
task :reverting do
Slackistrano::Capistrano.new(self).run(:reverting)
end
+ desc 'Notify about updated deploy'
task :updated do
Slackistrano::Capistrano.new(self).run(:updated)
end
+ desc 'Notify about reverted deploy'
task :reverted do
Slackistrano::Capistrano.new(self).run(:reverted)
end
+ desc 'Notify about failed deploy'
task :failed do
Slackistrano::Capistrano.new(self).run(:failed)
end
+ desc 'Test Slack integration'
task :test => %i[updating updated reverting reverted failed] do
# all tasks run as dependencies
end
end