From d953051e5c532fea960f4ccf665a2f6413f6a386 Mon Sep 17 00:00:00 2001 From: paspo Date: Sat, 29 Sep 2018 16:15:55 +0200 Subject: [PATCH] fixed step execution conditions --- .drone.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index b98d1c6..9746e4f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,8 +12,6 @@ pipeline: - createlinks.pl - README.md - LICENSE.txt - when: - event: [ push, tag ] build: image: libreschool-automation/rpm-build:latest @@ -21,15 +19,13 @@ pipeline: - yum-builddep -y nethserver-profilemgr.spec - rpmbuild -ba nethserver-profilemgr.spec - mkdir out ; mv *.rpm noarch/*.rpm out/ - when: - event: [ push, tag ] pkg_sign: image: libreschool-automation/rpm-sign files: out/*.rpm secrets: [ gpg_key, passphrase ] when: - event: tag + event: [ tag, deployment ] gitea_release: group: deploy