logging du webhook

This commit is contained in:
Valentin
2024-02-27 16:57:10 +01:00
parent f192e4bcbe
commit da2617d9e4
3 changed files with 10 additions and 9 deletions

View File

@@ -35,5 +35,5 @@ if (json_last_error() !== JSON_ERROR_NONE) {
// success, do something
$repo_name = $decoded['repository']['name'];
echo "launching hook script ";
echo shell_exec('bash ../webhook/webhook.sh ' . $repo_name . ' 2>&1');
echo shell_exec('bash ../webhook/webhook.sh ' . $repo_name . ' >> ../webhook/webhook.log 2>&1');
?>