From 42b10fab547432a7e336728e091807311ac85b7d Mon Sep 17 00:00:00 2001 From: xuu Date: Mon, 29 May 2023 10:31:09 -0600 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index e7c3060..c814d97 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,6 +8,17 @@ steps: commands: - go test -v -race -skip '^TestE2E|TestMain' ./... +trigger: + event: + - push + - pull_request + +--- +kind: pipeline +type: docker +name: deploy + +steps: - name: build image: golang:1.20 environment: @@ -21,17 +32,6 @@ steps: commands: - upx --best --lzma -o ev build/ev -trigger: - event: - - push - - pull_request - ---- -kind: pipeline -type: docker -name: deploy - -steps: - name: deploy image: plugins/ansible:3 settings: @@ -47,4 +47,4 @@ trigger: event: - promote target: - - lavana + - production