From 8ba2a526a2efbfbc37af5afc9c696397e41c0acc Mon Sep 17 00:00:00 2001 From: JayChen Date: Thu, 19 Dec 2019 09:25:56 +0800 Subject: [PATCH] add ci --- .drone.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..a25f947 --- /dev/null +++ b/.drone.yml @@ -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