From ae46c5d396b85d356bcf285259e02ad437b87164 Mon Sep 17 00:00:00 2001 From: icechen Date: Thu, 6 Jan 2022 16:39:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A2=9E=E5=8A=A0=20custom=20=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config_handler/config_handler.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config_handler/config_handler.go b/config_handler/config_handler.go index 0a4cf63..679c360 100644 --- a/config_handler/config_handler.go +++ b/config_handler/config_handler.go @@ -100,6 +100,8 @@ func getGitClient(req *config.Request) git.Client { func getDeployEnv(req *config.Request) consts.Env { switch req.Build.Event { case "push": + fallthrough + case "custom": if req.Build.Target == "master" { return consts.EnvTest }