From 782880210d4ba4312175223aafd562d9842dd083 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Tue, 18 Dec 2018 15:32:28 -0500 Subject: [PATCH] Upload documentation files to a freeCodeCamp-owned S3 bucket --- lib/tasks/docs.thor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/docs.thor b/lib/tasks/docs.thor index e6541770..526e5c5a 100644 --- a/lib/tasks/docs.thor +++ b/lib/tasks/docs.thor @@ -178,7 +178,7 @@ class DocsCLI < Thor puts '[S3] Begin syncing.' docs.each do |doc| puts "[S3] Syncing #{doc.path}..." - cmd = "aws s3 sync #{File.join(Docs.store_path, doc.path)} s3://docs.devdocs.io/#{doc.path} --delete" + cmd = "aws s3 sync #{File.join(Docs.store_path, doc.path)} s3://devdocs-assets/#{doc.path} --delete --profile devdocs" cmd << ' --dryrun' if options[:dryrun] system(cmd) end