{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "scp \/tmp\/BotDetectionService-groupB.php root@prod.karlkratz.com:\/tmp\/BotDetectionService-groupB.php && ssh root@prod.karlkratz.com '\nfor site in prod.nevoteam.de dev.nevoteam.de dev.bic.karlkratz.de; do\n cp \/tmp\/BotDetectionService-groupB.php \/var\/www\/$site\/src\/Services\/BotDetectionService.php\n echo \"Deployed to $site\"\ndone\nsystemctl restart php8.4-fpm\necho \"PHP-FPM restarted\"'",
"description": "Emergency deploy fix to all Group B sites"
}
}
{
"tool_response": {
"stdout": "Deployed to prod.nevoteam.de\nDeployed to dev.nevoteam.de\nDeployed to dev.bic.karlkratz.de\nPHP-FPM restarted",
"stderr": "",
"interrupted": false,
"isImage": false,
"noOutputExpected": false
}
}