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 }