'reload the website NOW !!']; } public function GET_release($argv){ extract($argv); \chdir(__ROOT__); \exec("git pull origin master", $out_pull); \exec("npm update"); \exec("npm run build", $out_npm); return [ 'stdout' => [ $out_pull, $out_update ] ]; } }