2021-05-26 18:24:44 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: node
|
|
|
|
commands:
|
|
|
|
- yarn install
|
|
|
|
- yarn run build
|
|
|
|
|
2021-07-14 09:57:30 +00:00
|
|
|
- name: deploy
|
2021-12-29 21:42:09 +00:00
|
|
|
image: plugins/s3
|
2021-12-29 21:42:48 +00:00
|
|
|
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
|
2021-12-29 21:42:09 +00:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|