Add condition

This commit is contained in:
Eugene Burmakin 2025-08-01 15:28:05 +02:00
parent d90b09e78a
commit 343645b709

View file

@ -14,8 +14,10 @@ s3:
secret_access_key: <%= ENV.fetch("AWS_SECRET_ACCESS_KEY") %> secret_access_key: <%= ENV.fetch("AWS_SECRET_ACCESS_KEY") %>
region: <%= ENV.fetch("AWS_REGION") %> region: <%= ENV.fetch("AWS_REGION") %>
bucket: <%= ENV.fetch("AWS_BUCKET") %> bucket: <%= ENV.fetch("AWS_BUCKET") %>
<% if ENV['AWS_ENDPOINT'] %>
endpoint: <%= ENV.fetch("AWS_ENDPOINT") %> endpoint: <%= ENV.fetch("AWS_ENDPOINT") %>
force_path_style: true force_path_style: true
<% end %>
<% end %> <% end %>
# Remember not to checkin your GCS keyfile to a repository # Remember not to checkin your GCS keyfile to a repository