drone s3 deploy

This commit is contained in:
Djeeberjr 2021-12-29 22:42:09 +01:00
parent 5476f7dda9
commit b99dd928ca

View File

@ -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