startpage/.drone.yml

32 lines
453 B
YAML
Raw Normal View History

2020-04-21 16:40:37 +00:00
kind: pipeline
name: default
steps:
- name: build
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 22:12:32 +00:00
- mkdir build
- tar -czvf build/bundle.tar.gz dist
2020-04-22 14:50:59 +00:00
- name: gitea_release
image: plugins/gitea-release
settings:
2020-04-22 20:33:15 +00:00
api_key:
2020-04-22 20:27:33 +00:00
from_secret: GITEA_API_KEY
2020-04-22 14:58:58 +00:00
base_url: https://git.kapelle.org
files:
2020-04-22 22:14:38 +00:00
- build/*
2020-04-22 22:12:32 +00:00
checksum:
- md5
- sha1
- sha256
2020-04-22 14:58:58 +00:00
when:
2020-04-22 22:14:38 +00:00
event:
- tag
2020-04-22 15:30:50 +00:00
2020-04-22 00:46:23 +00:00
trigger:
2020-04-22 15:30:50 +00:00
event:
- tag