koa-template/.drone.yml
JayChen 4144a6aeb3
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
add exclude file to zip
2019-12-19 11:37:23 +08:00

25 lines
493 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*' -x '*.drone.yml*'
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://git.trj.tw
files:
- release.zip
checksum:
- md5
- sha1
- sha256
when:
event: tag