Sha256: b4ac5a2f25060cb3af476d90383e78153f59736ef7d727381f0319a983a90b40
Contents?: true
Size: 557 Bytes
Versions: 78
Compression:
Stored size: 557 Bytes
Contents
require File.join(File.dirname(__FILE__), "ey_logger") # These tasks are setup to use with the logger as post commit hooks. Capistrano::Configuration.instance(:must_exist).load do namespace :ey_logger do task :upload_log_to_slice, :except => { :no_release => true} do logger = Capistrano::EYLogger run "mkdir -p #{shared_path}/deploy_logs" put File.open(logger.log_file_path).read, "#{shared_path}/deploy_logs/#{logger.remote_log_file_name}" end end end Capistrano::EYLogger.post_process_hook("ey_logger:upload_log_to_slice")
Version data entries
78 entries across 78 versions & 8 rubygems