koa-template/.drone.yml
JayChen 3862bf5bb2
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
fix command
2019-12-19 09:29:37 +08:00

24 lines
457 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: remove_folder
image: alpine
commands:
- apk add --no-cache zip
- zip -r release.zip . -x '*.git*' -x 'node_modules*'
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://git.trj.tw
files: ./*
checksum:
- md5
- sha1
- sha256
when:
event: tag