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