New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

s3deployer

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

s3deployer

  • 0.0.7
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Deploy A Pile of Stuff to S3

Because sometimes, you just want to shove a bunch of stuff onto S3

Deploying via a Script

deployer = S3Deployer.new(ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'])
deployer.deploy("#{Dir.pwd}/directory_to_deploy", "amazon.bucket.name")

Deploying via the Command Line

Just cd to the directory you want to deploy and run

s3deploy -b BUCKET_NAME

Deploying with multiple people

When working with multiple people who may be deploying code at the same time it's helpful to make sure that only one deployment happens at a time. Use with_lock for this.

deployer = S3Deployer.new(ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'])
deployer.bucket_name = "amazon.bucket.name"

deployer.with_lock do |deployer|
    deployer.deploy("#{Dir.pwd}/directory_to_deploy")
end

ShoveIt

FAQs

Package last updated on 11 Apr 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc