This commit is contained in:
wandoubaba 2023-07-04 13:58:09 +08:00
parent f99a558897
commit d46721a5e3

View File

@ -19,7 +19,7 @@ $worker->onMessage = function(TcpConnection $connection, Request $request)
{
$work_dir = isset($_ENV['WORK_DIR']) ? $_ENV['WORK_DIR'] : null;
$branch = isset($_ENV['BRANCH']) ? $_ENV['BRANCH'] : null;
var_dump(json_encode($request->post(), JSON_UNESCAPED_UNICODE));
var_dump(json_encode($request->post('repository'), JSON_UNESCAPED_UNICODE));
// $connection->send($request->post());
if ($work_dir && $branch) {