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