fix: 增加 custom 事件
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
af962cc698
commit
ae46c5d396
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue