Compare commits

...

2 Commits

Author SHA1 Message Date
Jay
95c57a3b8a Merge pull request 'add ci setting' (#3) from release/1.0.1 into master
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
Reviewed-on: #3
2021-06-14 16:09:14 +00:00
Jay
52680ec8f5 add ci setting
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-06-15 00:02:37 +08:00

34
.drone.yml Normal file
View File

@ -0,0 +1,34 @@
kind: pipeline
name: release
steps:
- name: build
image: golang:rc
volumes:
- name: dist
path: /data
commands:
- make build
- cp -r contrib /data
- cp deploy /data
- cp config.yml.sample /data/config.yml
- name: relase
image: plugins/gitea-release
volumes:
- name: dist
path: /data
settings:
api_key:
from_secret: api-key
base_url: https://git.trj.tw
files: /data/*
checksum:
- md5
- sha1
- sha256
when:
event: tag
volumes:
- name: dist
temp: {}