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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user