From da6993b4f9d62a03ccc7b52fc8072995c5c423e9 Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Wed, 24 Feb 2021 21:42:34 +0100 Subject: [PATCH] Add a section for publishing a release to Gitea to the drone config file. This has not been tested yet! --- .drone.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.drone.yml b/.drone.yml index 76b65fc..973f073 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,3 +11,19 @@ steps: image: node:15-alpine commands: - npm run build + - name: gitea_release + image: plugins/gitea-release + settings: + api_key: + from_secret: gitea_api_token + base_url: https://gittr.ch + files: + - dist/* + checksum: + - md5 + - sha256 + - sha512 + - adler32 + - crc32 + when: + event: tag