Sha256: 773ec0f3b4ca6dfe257951b225b4bc05ea1bafcb3352958f2253952dab4ce941

Contents?: true

Size: 397 Bytes

Versions: 3

Compression:

Stored size: 397 Bytes

Contents

Capistrano::Configuration.instance(false).load do

  namespace :s3_copy do

    desc "Internal hook that updates the aws_install.sh script to latest if the deploy completed"
    task :store_aws_install_script_on_success do
      cmd = fetch(:s3_copy_aws_install_cmd)
      if cmd
        run_locally(cmd)
      end
    end
  end

  after 'deploy', 's3_copy:store_aws_install_script_on_success'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
capistrano-s3-copy-0.0.4 lib/capistrano-s3-copy/recipes/s3_copy.rb
capistrano-s3-copy-0.0.3 lib/capistrano-s3-copy/recipes/s3_copy.rb
capistrano-s3-copy-0.0.2 lib/capistrano-s3-copy/recipes/s3_copy.rb