fix git safe directory
Some checks failed
deploy / deploy (push) Failing after 0s
test / smoke-test (push) Has been cancelled

This commit is contained in:
Dusan Vojacek
2026-04-05 01:37:18 +02:00
parent 6d1f538dd0
commit 01545af471

View File

@@ -42,6 +42,8 @@ exec 9>"$LOCK_FILE"
flock 9 flock 9
log "Starting deploy (ROOT=$ROOT)" log "Starting deploy (ROOT=$ROOT)"
git config --global --add safe.directory "$APP_DIR" || true
log "Git: fetch origin" log "Git: fetch origin"
git -C "$APP" fetch origin git -C "$APP" fetch origin