Sha256: dda60bbb2bb3679691c1441bd1fd30451391c7b717a52cef01582ecaadcfd4f5
Contents?: true
Size: 1.1 KB
Versions: 6
Compression:
Stored size: 1.1 KB
Contents
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 end before 'deploy:updating', 'slack:deploy:updating' before 'deploy:reverting', 'slack:deploy:reverting' after 'deploy:finishing', 'slack:deploy:updated' after 'deploy:finishing_rollback', 'slack:deploy:reverted' after 'deploy:failed', 'slack:deploy:failed'
Version data entries
6 entries across 6 versions & 1 rubygems