mirror of https://gitea.com/gitea/theme.git
use drone secrets for s3 info (#121)
Reviewed-on: https://gitea.com/gitea/theme/pulls/121
This commit is contained in:
parent
64f4349699
commit
7fb4df522b
15
.drone.yml
15
.drone.yml
|
@ -18,11 +18,18 @@ steps:
|
||||||
|
|
||||||
- name: release
|
- name: release
|
||||||
pull: always
|
pull: always
|
||||||
image: plugins/s3
|
image: woodpeckerci/plugin-s3:latest
|
||||||
settings:
|
settings:
|
||||||
bucket: gitea-artifacts
|
acl:
|
||||||
endpoint: https://ams3.digitaloceanspaces.com
|
from_secret: aws_s3_acl
|
||||||
path_style: true
|
region:
|
||||||
|
from_secret: aws_s3_region
|
||||||
|
bucket:
|
||||||
|
from_secret: aws_s3_bucket
|
||||||
|
endpoint:
|
||||||
|
from_secret: aws_s3_endpoint
|
||||||
|
path_style:
|
||||||
|
from_secret: aws_s3_path_style
|
||||||
strip_prefix: dist/
|
strip_prefix: dist/
|
||||||
source: dist/master.tar.gz
|
source: dist/master.tar.gz
|
||||||
target: /theme
|
target: /theme
|
||||||
|
|
Loading…
Reference in New Issue