fix git safe directory
This commit is contained in:
@@ -42,6 +42,8 @@ exec 9>"$LOCK_FILE"
|
||||
flock 9
|
||||
log "Starting deploy (ROOT=$ROOT)"
|
||||
|
||||
git config --global --add safe.directory "$APP_DIR" || true
|
||||
|
||||
log "Git: fetch origin"
|
||||
git -C "$APP" fetch origin
|
||||
|
||||
|
||||
Reference in New Issue
Block a user