History

fix: update staging bucket references to prod

Oliver Eyton-Williams committed 5 years ago

Commit 60722321 parent 72ac0a21 file · +2 −2Browse files

Unified · Split

lib/tasks/docs.thor+2−2
@@ -191,7 +191,7 @@ class DocsCLI < Thor · 190 unmodified lines
191191 puts '[S3] Begin syncing.'
192192 docs.each do |doc|
193193 puts "[S3] Syncing #{doc.path}..."
194− cmd = "aws s3 sync #{File.join(Docs.store_path, doc.path)} s3://devdocs-staging-documents/#{doc.path} --delete --profile devdocs"
194+ cmd = "aws s3 sync #{File.join(Docs.store_path, doc.path)} s3://devdocs-documents/#{doc.path} --delete --profile devdocs"
195195 cmd << ' --dryrun' if options[:dryrun]
196196 system(cmd)
197197 end
@@ -204,7 +204,7 @@ class DocsCLI < Thor · 6 unmodified lines
204204 docs.each do |doc|
205205 filename = "#{doc.path}.tar.gz"
206206 print "[S3 bundle] Uploading #{filename}..."
207− cmd = "aws s3 cp #{File.join(Docs.store_path, filename)} s3://devdocs-staging-downloads/bundles/#{filename} --profile devdocs"
207+ cmd = "aws s3 cp #{File.join(Docs.store_path, filename)} s3://devdocs-downloads/bundles/#{filename} --profile devdocs"
208208 cmd << ' --dryrun' if options[:dryrun]
209209 system(cmd)
210210 end