From 4db4553b13b6af610a3711b0b5fb1ad351b9f6a8 Mon Sep 17 00:00:00 2001 From: James Wilson Date: Tue, 7 Apr 2020 08:44:55 -0500 Subject: [PATCH] Support 'environment.backup.delete' webhook type --- src/Platformsh2Slack.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Platformsh2Slack.php b/src/Platformsh2Slack.php index 707e49a..8228f9b 100644 --- a/src/Platformsh2Slack.php +++ b/src/Platformsh2Slack.php @@ -260,6 +260,10 @@ function processPlatformshPayload() { $this->slack_text = "$name created the snapshot `{$platformsh->payload->backup_name}` from `$branch` of $project_string"; break; + case 'environment.backup.delete': + $this->slack_text = "$name deleted the snapshot `{$platformsh->payload->backup_name}` from `$branch` of $project_string"; + break; + case 'environment.deactivate': $this->slack_text = "$name deactivated the environment `$branch` of $project_string"; break;