Sha256: 29b2bfe8c034fd475ee2af0123d849906e2977b58e7b9cbb3e2d64783d2abebb
Contents?: true
Size: 505 Bytes
Versions: 3
Compression:
Stored size: 505 Bytes
Contents
namespace :sumo do namespace :notifications do desc 'Notify our webhooks on a deploy' task :deploy do on roles(:web) do execute :curl, '-sS', "--data local_username=#{ENV["USER"]}", "--data stage=#{fetch(:stage)}", "--data repo=#{fetch(:repo_url)}", "--data revision=#{capture("cat #{current_path}/REVISION")}", 'http://bot.sumo.sumoapp.be:3001/deploy/hook' end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
capistrano-sumo-1.2.0 | lib/capistrano/tasks/notifications.rake |
capistrano-sumo-1.1.2 | lib/capistrano/tasks/notifications.rake |
capistrano-sumo-1.1.1 | lib/capistrano/tasks/notifications.rake |