start
This commit is contained in:
parent
caf4f593c1
commit
f99a558897
@ -19,8 +19,8 @@ $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($request->post());
|
var_dump(json_encode($request->post(), JSON_UNESCAPED_UNICODE));
|
||||||
$connection->send($request->post());
|
// $connection->send($request->post());
|
||||||
|
|
||||||
if ($work_dir && $branch) {
|
if ($work_dir && $branch) {
|
||||||
// chdir($work_dir);
|
// chdir($work_dir);
|
||||||
|
Loading…
Reference in New Issue
Block a user