Unified · Split
| @@ -203,7 +203,7 @@ class DocsCLI < Thor · 202 unmodified lines | ||
| 203 | 203 | docs.each do |doc| |
| 204 | 204 | filename = "#{doc.path}.tar.gz" |
| 205 | 205 | print "[S3 bundle] Uploading #{filename}..." |
| 206 | − cmd = "aws s3 cp #{File.join(Docs.store_path, filename)} s3://devdocs-downloads/bundles/#{filename} --profile devdocs" | |
| 206 | + cmd = "aws s3 cp #{File.join(Docs.store_path, filename)} s3://devdocs-downloads/#{filename} --profile devdocs" | |
| 207 | 207 | cmd << ' --dryrun' if options[:dryrun] |
| 208 | 208 | system(cmd) |
| 209 | 209 | end |
| @@ -337,7 +337,7 @@ class DocsCLI < Thor · 127 unmodified lines | ||
| 337 | 337 | |
| 338 | 338 | def download_doc(doc) |
| 339 | 339 | target_path = File.join(Docs.store_path, doc.path) |
| 340 | − open "https://downloads.devdocs.io/bundles/#{doc.path}.tar.gz" do |file| | |
| 340 | + open "https://downloads.devdocs.io/#{doc.path}.tar.gz" do |file| | |
| 341 | 341 | FileUtils.mkpath(target_path) |
| 342 | 342 | file.close |
| 343 | 343 | tar = UnixUtils.gunzip(file.path) |