mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-02-12 17:18:40 +00:00
Add response message
This commit is contained in:
parent
0999d6351c
commit
de4eb598f1
|
|
@ -5,4 +5,8 @@ $payload = json_decode($postBody, true);
|
||||||
|
|
||||||
if ($payload['repository']['name'] === 'Orange-Management') {
|
if ($payload['repository']['name'] === 'Orange-Management') {
|
||||||
shell_exec('./buildProject.sh > /dev/null 2>/dev/null &');
|
shell_exec('./buildProject.sh > /dev/null 2>/dev/null &');
|
||||||
|
|
||||||
|
echo 'Installing';
|
||||||
|
} else {
|
||||||
|
echo 'Invalid payload';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user