diff --git a/updater/webhook.php b/updater/webhook.php index d8d3c0d..c8eec6e 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); +exec('git config --global --add safe.directory ' . $docker_config_dir); exec('git pull'); exec('docker compose up -d --build --quiet-pull');