diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2022-04-15 00:45:12 +0300 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2022-04-15 00:45:12 +0300 |
commit | d573e394f20b634e6d092ad4c93e9eba45958165 (patch) | |
tree | c0e92008f4af38051045970b3d939aa9557e4ec5 | |
parent | 8cb7b89994b27e80b54b830007f36ccb639662e5 (diff) |
Fix Config class not foundfix/noid/autoload
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
-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"; } |