rename channel_cron in drone script

This commit is contained in:
Phil Davis
2024-04-16 18:35:54 +05:45
committed by Prajwol Amatya
parent 49c241af93
commit 46ea8a0bc6

View File

@@ -144,7 +144,7 @@ config = {
},
"rocketchat": {
"channel": "infinitescale",
"channel_builds": "builds",
"channel_cron": "builds",
"from_secret": "rocketchat_talk_webhook",
},
"binaryReleases": {
@@ -1915,7 +1915,7 @@ def notify(ctx):
channel = config["rocketchat"]["channel"]
if ctx.build.event == "cron":
status.append("success")
channel = config["rocketchat"]["channel_builds"]
channel = config["rocketchat"]["channel_cron"]
return {
"kind": "pipeline",