Created
March 6, 2014 18:01
-
-
Save krschultz/9395676 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc "Deploy website via AWS command lien tools with CloudFront cache invalidation" | |
task :s3 do | |
puts "## Deploying website via AWS cli tools" | |
ok_failed system("aws s3 sync --acl public-read --storage-class REDUCED_REDUNDANCY public/ s3://#{s3_bucket}/") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment