adding promote and roolback to the upgrade event from drone 1.0 rc

This commit is contained in:
Joachim Hill-Grannec
2018-11-10 18:11:42 -05:00
parent 609b0bc8e9
commit e8e87c7ff8
+1 -1
View File
@@ -149,7 +149,7 @@ func setHelmCommand(p *Plugin) {
setDeleteCommand(p)
default:
switch os.Getenv("DRONE_BUILD_EVENT") {
case "push", "tag", "deployment", "pull_request":
case "push", "tag", "deployment", "pull_request", "promote", "rollback":
setUpgradeCommand(p)
case "delete":
setDeleteCommand(p)