Sha256: a75461c4d048c1ea9969027fc48a94b74d08ae810bde894e41ed3db5aa01e91f
Contents?: true
Size: 625 Bytes
Versions: 5
Compression:
Stored size: 625 Bytes
Contents
namespace :sumo do namespace :notifications do desc 'Notify our webhooks on a deploy' task :deploy do # fetch the revision from the web-server on roles(:web) do set :revision, capture("cat #{current_path}/REVISION") end run_locally do execute :curl, '-sS', "--data local_username=#{ENV["USER"]}", "--data stage=#{fetch(:stage)}", "--data repo=#{fetch(:repo_url)}", "--data revision=#{fetch(:revision)}", 'http://bot.sumo.sumoapp.be:3001/deploy/hook' end end end end
Version data entries
5 entries across 5 versions & 1 rubygems