mirror of
https://github.com/ipedrazas/drone-helm.git
synced 2026-06-04 18:24:13 +08:00
adding promote and roolback to the upgrade event from drone 1.0 rc
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user