start
This commit is contained in:
parent
f99a558897
commit
d46721a5e3
@ -19,7 +19,7 @@ $worker->onMessage = function(TcpConnection $connection, Request $request)
|
|||||||
{
|
{
|
||||||
$work_dir = isset($_ENV['WORK_DIR']) ? $_ENV['WORK_DIR'] : null;
|
$work_dir = isset($_ENV['WORK_DIR']) ? $_ENV['WORK_DIR'] : null;
|
||||||
$branch = isset($_ENV['BRANCH']) ? $_ENV['BRANCH'] : 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());
|
// $connection->send($request->post());
|
||||||
|
|
||||||
if ($work_dir && $branch) {
|
if ($work_dir && $branch) {
|
||||||
|
Loading…
Reference in New Issue
Block a user