move s3 endpoint to secrets
This commit is contained in:
parent
1a256291dc
commit
6c9b2f8745
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue