From 8c6156385a8d6352681d32a1c96af8dcc01853f8 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Tue, 27 Apr 2021 12:16:03 -0700 Subject: [PATCH] drone.yml: react to tag and publish results --- .drone.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.drone.yml b/.drone.yml index 284ea15..dfc417c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -82,6 +82,24 @@ steps: - cd .. - scp -r -o StrictHostKeyChecking=no -i ~/id_rsa $DIR buildfiles@openprivacy.ca:/home/buildfiles/buildfiles/ + - name: gitea-release + image: plugins/gitea-release + when: + event: tag + settings: + api_key: + from_secret: gogs_account_token + base_url: https://git.openprivacy.ca + files: + - libCwtch.so + - libCwtch.dll + - cwtch.aar + - cwtch-sources.jar + - libCwtch.h + checksum: + - sha256 + - sha512 + - name: notify-email image: drillster/drone-email settings: @@ -114,3 +132,4 @@ trigger: event: - push - pull_request + - tag