Skip to content

Commit 85f519e

Browse files
committed
docs:upload --rclone
https://rclone.org/s3/#s3-no-check-bucket > `--s3-no-check-bucket` > If set, don't attempt to check the bucket exists or create it. > It can also be needed if the user you are using does not have bucket creation permissions.
1 parent 96a1059 commit 85f519e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tasks/docs.thor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ class DocsCLI < Thor
210210
cmd << ' --dryrun' if options[:dryrun]
211211
if options[:rclone]
212212
puts "[S3 bundle] Uploading #{filename} using rclone..."
213-
cmd = "rclone copy #{File.join(Docs.store_path, filename)} devdocs:devdocs-downloads/"
213+
cmd = "rclone copy #{File.join(Docs.store_path, filename)} devdocs:devdocs-downloads/ --s3-no-check-bucket"
214214
cmd << ' --dry-run' if options[:dryrun]
215215
end
216216
system(cmd)

0 commit comments

Comments
 (0)