Allow usage of this plugin during pull request

Hi,
All commits that belong to pull request will have such build event, therefore we will see only help message instead of deployment.
This commit is contained in:
arhont375
2018-05-02 17:24:39 +09:00
committed by GitHub
parent 1fabc3427b
commit 740191bf1d
+1 -1
View File
@@ -138,7 +138,7 @@ func setHelmCommand(p *Plugin) {
setDeleteCommand(p)
default:
switch os.Getenv("DRONE_BUILD_EVENT") {
case "push", "tag", "deployment":
case "push", "tag", "deployment", "pull_request":
setUpgradeCommand(p)
case "delete":
setDeleteCommand(p)