Sha256: feeb85fd0abc7791822187d381c3beab377fa7ce82999a58653128f2ff43bc9d
Contents?: true
Size: 705 Bytes
Versions: 20
Compression:
Stored size: 705 Bytes
Contents
namespace :appsignal do task :deploy do env = fetch(:stage, fetch(:rails_env, fetch(:rack_env, 'production'))) user = ENV['USER'] || ENV['USERNAME'] revision = fetch(:appsignal_revision, fetch(:current_revision)) logger = fetch(:logger, Logger.new($stdout)) appsignal_config = Appsignal::Config.new( ENV['PWD'], env, fetch(:appsignal_config, {}), logger ) if appsignal_config && appsignal_config.active? marker_data = { :revision => revision, :user => user } marker = Appsignal::Marker.new(marker_data, appsignal_config, logger) marker.transmit end end end after 'deploy:finished', 'appsignal:deploy'
Version data entries
20 entries across 20 versions & 1 rubygems