From ed4ec8c945d78e50190ff5f50d9ddff1a7d16df8 Mon Sep 17 00:00:00 2001 From: Marvin Steadfast Date: Mon, 25 Jan 2021 09:18:46 +0100 Subject: [PATCH] still fighting with drone promotions --- .drone.yml | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7831210..b6640f7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -51,12 +51,11 @@ steps: depends_on: - submodules - clean + when: + event: + exclude: + - promote ---- -kind: pipeline -name: deploy - -steps: - name: release image: goreleaser/goreleaser:latest environment: @@ -65,12 +64,11 @@ steps: commands: - (cd /tmp; go get -u github.com/go-bindata/go-bindata/...) - goreleaser release --rm-dist --parallelism=1 - -depends_on: - - default - -trigger: - event: - - promote - target: - - production + depends_on: + - submodules + - clean + when: + event: + - promote + target: + - production