add ci
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/tag Build is failing Details

This commit is contained in:
Jay 2019-12-19 09:25:56 +08:00
parent cc758fccf4
commit 8ba2a526a2
1 changed files with 22 additions and 0 deletions

22
.drone.yml Normal file
View File

@ -0,0 +1,22 @@
kind: pipeline
type: docker
name: default
steps:
- name: remove_folder
image: alpine
commands:
- zip -r release.zip -x *.git* -x release.zip .
- 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