From 6c9b2f874517053b2cb8ebc6761a72ff0bb26133 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Tue, 13 Sep 2022 22:36:45 +0200 Subject: [PATCH] move s3 endpoint to secrets --- .drone.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index dbc39eb..2aedc74 100644 --- a/.drone.yml +++ b/.drone.yml @@ -112,7 +112,8 @@ steps: settings: acl: public-read bucket: gitea-artifacts - endpoint: https://storage.gitea.io + endpoint: + from_secret: aws_endpoint path_style: true source: "dist/release/*" strip_prefix: dist/release/ @@ -132,7 +133,8 @@ steps: settings: acl: public-read bucket: gitea-artifacts - endpoint: https://ams3.digitaloceanspaces.com + endpoint: + from_secret: aws_endpoint source: "dist/release/*" strip_prefix: dist/release/ target: "/tea/${DRONE_BRANCH##release/v}" @@ -153,7 +155,8 @@ steps: settings: acl: public-read bucket: gitea-artifacts - endpoint: https://ams3.digitaloceanspaces.com + endpoint: + from_secret: aws_endpoint source: "dist/release/*" strip_prefix: dist/release/ target: /tea/main