ts3-status/.drone.yml
2021-12-29 22:42:09 +01:00

27 lines
466 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build
image: node
commands:
- yarn install
- yarn run build
- name: deploy
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