diff --git a/updater/webhook.php b/updater/webhook.php index c8eec6e..34a2986 100644 --- a/updater/webhook.php +++ b/updater/webhook.php @@ -67,6 +67,7 @@ if (json_last_error() !== JSON_ERROR_NONE) { error_log('SUCCESS - ' . $decoded['ref']); chdir($docker_config_dir); +putenv('HOME=/var/www/html/'); exec('git config --global --add safe.directory ' . $docker_config_dir); exec('git pull'); exec('docker compose up -d --build --quiet-pull');