followup to: use secrets for s3 info (#530)

This commit is contained in:
6543 2023-02-16 00:14:31 +01:00
parent e783f4ea4a
commit cfce25f0a7
No known key found for this signature in database
GPG Key ID: B8BE6D610E61C862
1 changed files with 9 additions and 3 deletions

View File

@ -129,10 +129,16 @@ steps:
pull: always
image: woodpeckerci/plugin-s3:latest
settings:
acl: public-read
bucket: gitea-artifacts
acl:
from_secret: aws_s3_acl
region:
from_secret: aws_s3_region
bucket:
from_secret: aws_s3_bucket
endpoint:
from_secret: aws_endpoint
from_secret: aws_s3_endpoint
path_style:
from_secret: aws_s3_path_style
source: "dist/release/*"
strip_prefix: dist/release/
target: "/tea/${DRONE_BRANCH##release/v}"