koa-template/.drone.yml

25 lines
493 B
YAML
Raw Permalink Normal View History

2019-12-19 01:25:56 +00:00
kind: pipeline
type: docker
name: default
steps:
- name: remove_folder
image: alpine
commands:
2019-12-19 01:26:37 +00:00
- apk add --no-cache zip
2019-12-19 03:37:23 +00:00
- zip -r release.zip . -x '*.git*' -x 'node_modules*' -x '*.drone.yml*'
2019-12-19 01:25:56 +00:00
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://git.trj.tw
2019-12-19 01:31:07 +00:00
files:
- release.zip
2019-12-19 01:25:56 +00:00
checksum:
- md5
- sha1
- sha256
when:
event: tag