27 lines
466 B
YAML
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 |