drone s3 deploy
This commit is contained in:
parent
5476f7dda9
commit
b99dd928ca
18
.drone.yml
18
.drone.yml
@ -10,6 +10,18 @@ steps:
|
||||
- yarn run build
|
||||
|
||||
- name: deploy
|
||||
image: eeacms/rsync
|
||||
commands:
|
||||
- rsync -r build rsync://cdn-rsyncd/share/cdn.kapelle.org/ts3 --delete
|
||||
image: plugins/s3
|
||||
settings:
|
||||
endpoint: https://s3.kapelle.org
|
||||
path_style: true
|
||||
bucket: www
|
||||
access_key:
|
||||
from_secret: S3_ACCESS_KEY
|
||||
secret_key:
|
||||
from_secret: S3_SECRET_KEY
|
||||
source: build/**/*
|
||||
strip_prefix: build/
|
||||
target: /ts3
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
Loading…
Reference in New Issue
Block a user