Sha256: 7c2238401b79fd585b45033d56af358a6f0729a568903604208a6ab784103431
Contents?: true
Size: 1.1 KB
Versions: 3
Compression:
Stored size: 1.1 KB
Contents
namespace :dingtalk do namespace :deploy do desc 'Notify about updating deploy' task :updating do Capistrano::Dingtalk.new(self).run(:updating) end desc 'Notify about reverting deploy' task :reverting do Capistrano::Dingtalk.new(self).run(:reverting) end desc 'Notify about updated deploy' task :updated do Capistrano::Dingtalk.new(self).run(:updated) end desc 'Notify about reverted deploy' task :reverted do Capistrano::Dingtalk.new(self).run(:reverted) end desc 'Notify about failed deploy' task :failed do Capistrano::Dingtalk.new(self).run(:failed) end desc 'Test dingtalk integration' task test: %i[updating updated reverting reverted failed] do # all tasks run as dependencies end end end before 'deploy:updating', 'dingtalk:deploy:updating' before 'deploy:reverting', 'dingtalk:deploy:reverting' after 'deploy:finishing', 'dingtalk:deploy:updated' after 'deploy:finishing_rollback', 'dingtalk:deploy:reverted' after 'deploy:failed', 'dingtalk:deploy:failed'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
capistrano-dingtalk-0.1.2 | lib/capistrano/tasks/dingtalk.rake |
capistrano-dingtalk-0.1.1 | lib/capistrano/tasks/dingtalk.rake |
capistrano-dingtalk-0.1.0 | lib/capistrano/tasks/dingtalk.rake |