diff --git a/.drone.yml b/.drone.yml index ba190eb..dab291d 100644 --- a/.drone.yml +++ b/.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 \ No newline at end of file + 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 \ No newline at end of file