1
0
mirror of https://gitea.com/gitea/tea.git synced 2024-12-04 14:46:40 -05:00

move s3 endpoint to secrets

This commit is contained in:
6543 2022-09-13 22:36:45 +02:00
parent 1a256291dc
commit 6c9b2f8745
No known key found for this signature in database
GPG Key ID: C99B82E40B027BAE

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