File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ class DocsCLI < Thor
191191 puts "[S3] Syncing #{ doc . path } ..."
192192 cmd = "aws s3 sync #{ File . join ( Docs . store_path , doc . path ) } s3://devdocs-documents/#{ doc . path } --delete --profile devdocs"
193193 cmd << ' --dryrun' if options [ :dryrun ]
194- if options [ :packaged ]
194+ if options [ :rclone ]
195195 puts "[S3] Syncing #{ doc . path } using rclone..."
196196 cmd = "rclone sync #{ File . join ( Docs . store_path , doc . path ) } devdocs:devdocs-documents/#{ doc . path } --delete-after --progress"
197197 cmd << ' --dry-run' if options [ :dryrun ]
@@ -208,7 +208,7 @@ class DocsCLI < Thor
208208 puts "[S3 bundle] Uploading #{ filename } ..."
209209 cmd = "aws s3 cp #{ File . join ( Docs . store_path , filename ) } s3://devdocs-downloads/#{ filename } --profile devdocs"
210210 cmd << ' --dryrun' if options [ :dryrun ]
211- if options [ :packaged ]
211+ if options [ :rclone ]
212212 puts "[S3 bundle] Uploading #{ filename } using rclone..."
213213 cmd = "rclone copy #{ File . join ( Docs . store_path , filename ) } devdocs:devdocs-downloads/"
214214 cmd << ' --dry-run' if options [ :dryrun ]
You can’t perform that action at this time.
0 commit comments