From 97a409818cc973617eabda2edd626ee3bec3208e Mon Sep 17 00:00:00 2001 From: CJ Horton <17039873+radditude@users.noreply.github.com> Date: Wed, 6 Mar 2024 12:17:14 -0800 Subject: [PATCH] release: use new syntax --- .release/ci.hcl | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.release/ci.hcl b/.release/ci.hcl index 21d1947e1a..4615a9c677 100644 --- a/.release/ci.hcl +++ b/.release/ci.hcl @@ -108,17 +108,12 @@ event "promote-production" { workflow = "promote-production" } - notification { - on = "always" - } -} - -event "crt-hook-tfc-upload" { - depends = ["promote-production"] - action "crt-hook-tfc-upload" { - organization = "hashicorp" - repository = "terraform-releases" - workflow = "crt-hook-tfc-upload" + promotion-events { + post-promotion { + organization = "hashicorp" + repository = "terraform-releases" + workflow = "crt-hook-tfc-upload" + } } notification {