From e32f62ef041f627a40309721a44fdc3927d7de86 Mon Sep 17 00:00:00 2001 From: gabriel-arc Date: Wed, 3 Aug 2022 14:11:57 +0200 Subject: [PATCH] custom s3 region --- lib/travis/logs/s3.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/travis/logs/s3.rb b/lib/travis/logs/s3.rb index 08e11249..ba4c1c9c 100644 --- a/lib/travis/logs/s3.rb +++ b/lib/travis/logs/s3.rb @@ -10,7 +10,7 @@ module Logs class S3 def self.setup Aws.config.update( - region: 'us-east-1', + region: ENV['TRAVIS_LOGS_S3_REGION'] || 'us-east-1', credentials: Aws::Credentials.new( Travis.config.s3.access_key_id, Travis.config.s3.secret_access_key