Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/client_updater_server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2022-04-15 00:45:12 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2022-04-15 00:45:12 +0300
commitd573e394f20b634e6d092ad4c93e9eba45958165 (patch)
treec0e92008f4af38051045970b3d939aa9557e4ec5
parent8cb7b89994b27e80b54b830007f36ccb639662e5 (diff)
Fix Config class not foundfix/noid/autoload
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 02d3465..207a8ce 100644
--- a/index.php
+++ b/index.php
@@ -21,6 +21,7 @@
declare(strict_types=1);
+require_once __DIR__ . '/vendor/autoload.php';
require_once __DIR__ . '/src/Response.php';
// Set Content-Type to XML
@@ -71,7 +72,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' &&
if (isset($data['ref']) && $data['ref'] === 'refs/heads/' . $branch) {
$escapedDir = escapeshellarg(__DIR__);
- exec("cd $escapedDir && git pull");
+ exec("cd $escapedDir && git pull && composer update --no-dev");
echo "Deployed";
}