From abd93bcf201097cfdd57f7bbce04d2d42188b1c7 Mon Sep 17 00:00:00 2001 From: lagertonne Date: Sat, 1 Jan 2022 15:36:13 +0100 Subject: [PATCH] drone: Add gitea releases --- .drone.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index f84219b..1fc51c4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,10 +10,15 @@ steps: - apt -y install --no-install-recommends build-essential equivs devscripts - mk-build-deps --install --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control - dpkg-buildpackage -b -uc + - mkdir debian/release + - cp ../ifupdown-ng*.deb - find .. - #- name: gitea_release - # image: plugins/gitea-release - # settings: - # api_key: - # base_url: https://git.neulandlabor.de - # files: ifupdown-ng + - name: gitea_release + image: plugins/gitea-release + settings: + api_key: + from_secret: GITEA_KEY + base_url: https://git.neulandlabor.de/ + files: debian/release/* + when: + event: tag