move s3 endpoint to secrets

This commit is contained in:
6543 2022-09-13 22:36:45 +02:00
parent 1a256291dc
commit 439cf74917
No known key found for this signature in database
GPG Key ID: C99B82E40B027BAE
1 changed files with 6 additions and 3 deletions

View File

@ -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