Navigation Menu

Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

Commit

Permalink
Upload documentation with public-read ACL
Browse files Browse the repository at this point in the history
  • Loading branch information
Yorick Peterse committed Jul 14, 2015
1 parent 7fd270a commit ac59b0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions task/doc.rake
Expand Up @@ -11,6 +11,6 @@ task :upload_doc => :doc do
directory = GEMSPEC.name

sh "aws s3 rm --recursive #{bucket}/#{directory}/latest"
sh "aws s3 sync yardoc #{bucket}/#{directory}/#{version}"
sh "aws s3 sync yardoc #{bucket}/#{directory}/latest"
sh "aws s3 sync yardoc #{bucket}/#{directory}/#{version} --acl public-read"
sh "aws s3 sync yardoc #{bucket}/#{directory}/latest --acl public-read"
end

0 comments on commit ac59b0c

Please sign in to comment.