From b99dd928ca48493e7143e90a9ce9164937057ccf Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Wed, 29 Dec 2021 22:42:09 +0100 Subject: [PATCH] drone s3 deploy --- .drone.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) 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