2020-04-21 16:40:37 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
2020-04-21 22:35:04 +00:00
|
|
|
image: node
|
2020-04-21 16:40:37 +00:00
|
|
|
commands:
|
|
|
|
- npm install
|
2020-04-22 00:42:43 +00:00
|
|
|
- npm run buildProd
|
2020-04-22 14:50:59 +00:00
|
|
|
|
|
|
|
- name: gitea_release
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
2020-04-22 14:58:58 +00:00
|
|
|
api_key: GITEA_API_KEY
|
|
|
|
base_url: https://git.kapelle.org
|
|
|
|
files:
|
|
|
|
- dist/*
|
|
|
|
checksum:
|
|
|
|
- md5
|
|
|
|
- sha1
|
|
|
|
- sha256
|
|
|
|
- sha512
|
|
|
|
- adler32
|
|
|
|
- crc32
|
|
|
|
when:
|
|
|
|
event: tag
|
2020-04-22 00:46:23 +00:00
|
|
|
trigger:
|
|
|
|
branch:
|
2020-04-22 14:50:59 +00:00
|
|
|
- master
|