updater: mark /appdata as safe.directory before git ops

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-15 22:22:32 -05:00
parent 1c66dbd481
commit a4a6fe4c9b

View File

@@ -10,6 +10,7 @@ set -e
nohup sh -c '
cd /appdata
echo "=== update $(date) ==="
git config --global --add safe.directory /appdata
git fetch origin master
git reset --hard origin/master
COMPOSE_PROJECT_NAME=moonbase docker compose up -d --build app