From b7cbd8f82a47a57fa6bb254df0d915236579c4a1 Mon Sep 17 00:00:00 2001 From: Marvin Steadfast Date: Fri, 22 Jan 2021 15:40:24 +0100 Subject: [PATCH] fixes release on promotion/deploy in drone --- .drone.yml | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9096c0f..7831210 100644 --- a/.drone.yml +++ b/.drone.yml @@ -48,14 +48,15 @@ steps: commands: - (cd /tmp; go get -u github.com/go-bindata/go-bindata/...) - make build - when: - event: - exclude: - - tag depends_on: - submodules - clean +--- +kind: pipeline +name: deploy + +steps: - name: release image: goreleaser/goreleaser:latest environment: @@ -64,11 +65,12 @@ steps: commands: - (cd /tmp; go get -u github.com/go-bindata/go-bindata/...) - goreleaser release --rm-dist --parallelism=1 - trigger: - event: - - promote - target: - - production - depends_on: - - submodules - - clean + +depends_on: + - default + +trigger: + event: + - promote + target: + - production