2019-05-03 18:34:29 +02:00
|
|
|
kind: pipeline
|
2021-02-24 13:19:33 +01:00
|
|
|
type: docker
|
2019-05-03 18:34:29 +02:00
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: prepare
|
2021-02-24 16:56:43 +01:00
|
|
|
image: node:15-alpine
|
2019-05-03 18:34:29 +02:00
|
|
|
commands:
|
|
|
|
- npm install
|
|
|
|
- name: build
|
2021-02-24 16:56:43 +01:00
|
|
|
image: node:15-alpine
|
2019-05-03 18:34:29 +02:00
|
|
|
commands:
|
2021-02-24 10:25:08 +01:00
|
|
|
- npm run build
|
2021-02-24 21:42:34 +01:00
|
|
|
- name: gitea_release
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: gitea_api_token
|
|
|
|
base_url: https://gittr.ch
|
|
|
|
files:
|
|
|
|
- dist/*
|
|
|
|
checksum:
|
|
|
|
- md5
|
|
|
|
- sha256
|
|
|
|
- sha512
|
|
|
|
- adler32
|
|
|
|
- crc32
|
|
|
|
when:
|
|
|
|
event: tag
|