rename channel_cron in drone script

This commit is contained in:
Phil Davis committed 2024-04-16 21:05:42 +05:45
1 parent 517b28d70a
commit c145c2e233
1 file changed
+2 -2
+2 -2
View File
@@ -153,7 +153,7 @@ config = {
},
"rocketchat": {
"channel": "infinitescale",
"channel_builds": "builds",
"channel_cron": "builds",
"from_secret": "rocketchat_talk_webhook",
},
"binaryReleases": {
@@ -1963,7 +1963,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",