diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2022-04-19 12:24:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 12:24:30 +0300 |
commit | cb8975471eed163c580c41bd5881fd754af9b8d7 (patch) | |
tree | c0e92008f4af38051045970b3d939aa9557e4ec5 | |
parent | 8cb7b89994b27e80b54b830007f36ccb639662e5 (diff) | |
parent | d573e394f20b634e6d092ad4c93e9eba45958165 (diff) |
Merge pull request #79 from nextcloud/fix/noid/autoload
Fix Config class not found
-rw-r--r-- | index.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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"; } |