diff --git a/.drone.star b/.drone.star index 618c7d0407..8a1b363b50 100644 --- a/.drone.star +++ b/.drone.star @@ -153,6 +153,7 @@ config = { }, "rocketchat": { "channel": "infinitescale", + "channel_cron": "builds", "from_secret": "rocketchat_talk_webhook", }, "binaryReleases": { @@ -1959,8 +1960,10 @@ def makeGoGenerate(module): def notify(ctx): status = ["failure"] + channel = config["rocketchat"]["channel"] if ctx.build.event == "cron": status.append("success") + channel = config["rocketchat"]["channel_cron"] return { "kind": "pipeline", @@ -1977,7 +1980,7 @@ def notify(ctx): "webhook": { "from_secret": config["rocketchat"]["from_secret"], }, - "channel": config["rocketchat"]["channel"], + "channel": channel, }, }, ],