use direct s3 endpoint (#59)

Reviewed-on: https://gitea.com/gitea/changelog/pulls/59
This commit is contained in:
techknowlogick 2022-03-11 05:02:27 +08:00
parent ea56b8af5a
commit 0ec4342863
1 changed files with 2 additions and 4 deletions

View File

@ -81,8 +81,7 @@ steps:
settings:
acl: public-read
bucket: gitea-artifacts
endpoint: https://storage.gitea.io
path_style: true
endpoint: https://ams3.digitaloceanspaces.com
source: "dist/release/*"
strip_prefix: dist/release/
target: /changelog-tool/master
@ -101,8 +100,7 @@ steps:
settings:
acl: public-read
bucket: gitea-artifacts
endpoint: https://storage.gitea.io
path_style: true
endpoint: https://ams3.digitaloceanspaces.com
source: "dist/release/*"
strip_prefix: dist/release/
target: "/changelog-tool/${DRONE_TAG##v}"