History

Upload documentation files to a freeCodeCamp-owned S3 bucket

Thibaut Courouble committed 7 years ago

Commit 78288021 parent b6358991 file · +1 −1Browse files

Unified · Split

lib/tasks/docs.thor+1−1
@@ -178,7 +178,7 @@ class DocsCLI < Thor · 177 unmodified lines
178178 puts '[S3] Begin syncing.'
179179 docs.each do |doc|
180180 puts "[S3] Syncing #{doc.path}..."
181− cmd = "aws s3 sync #{File.join(Docs.store_path, doc.path)} s3://docs.devdocs.io/#{doc.path} --delete"
181+ cmd = "aws s3 sync #{File.join(Docs.store_path, doc.path)} s3://devdocs-assets/#{doc.path} --delete --profile devdocs"
182182 cmd << ' --dryrun' if options[:dryrun]
183183 system(cmd)
184184 end