start
This commit is contained in:
parent
96295847cd
commit
caf4f593c1
@ -20,6 +20,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($request->post());
|
var_dump($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