mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-25 12:01:36 +01:00
move s3 endpoint to secrets
This commit is contained in:
parent
1a256291dc
commit
6c9b2f8745
@ -112,7 +112,8 @@ steps:
|
|||||||
settings:
|
settings:
|
||||||
acl: public-read
|
acl: public-read
|
||||||
bucket: gitea-artifacts
|
bucket: gitea-artifacts
|
||||||
endpoint: https://storage.gitea.io
|
endpoint:
|
||||||
|
from_secret: aws_endpoint
|
||||||
path_style: true
|
path_style: true
|
||||||
source: "dist/release/*"
|
source: "dist/release/*"
|
||||||
strip_prefix: dist/release/
|
strip_prefix: dist/release/
|
||||||
@ -132,7 +133,8 @@ steps:
|
|||||||
settings:
|
settings:
|
||||||
acl: public-read
|
acl: public-read
|
||||||
bucket: gitea-artifacts
|
bucket: gitea-artifacts
|
||||||
endpoint: https://ams3.digitaloceanspaces.com
|
endpoint:
|
||||||
|
from_secret: aws_endpoint
|
||||||
source: "dist/release/*"
|
source: "dist/release/*"
|
||||||
strip_prefix: dist/release/
|
strip_prefix: dist/release/
|
||||||
target: "/tea/${DRONE_BRANCH##release/v}"
|
target: "/tea/${DRONE_BRANCH##release/v}"
|
||||||
@ -153,7 +155,8 @@ steps:
|
|||||||
settings:
|
settings:
|
||||||
acl: public-read
|
acl: public-read
|
||||||
bucket: gitea-artifacts
|
bucket: gitea-artifacts
|
||||||
endpoint: https://ams3.digitaloceanspaces.com
|
endpoint:
|
||||||
|
from_secret: aws_endpoint
|
||||||
source: "dist/release/*"
|
source: "dist/release/*"
|
||||||
strip_prefix: dist/release/
|
strip_prefix: dist/release/
|
||||||
target: /tea/main
|
target: /tea/main
|
||||||
|
Loading…
Reference in New Issue
Block a user