add /opt/hantim as git safe.directory for deploy user

This commit is contained in:
2026-03-13 15:45:31 -04:00
parent 7a1434c465
commit 4467a6b2c4
+1
View File
@@ -86,6 +86,7 @@ if [ ! -f /home/deploy/.ssh/authorized_keys ]; then
echo " into /home/deploy/.ssh/authorized_keys"
fi
chown -R deploy:deploy /home/deploy/.ssh
su -s /bin/bash deploy -c "git config --global --add safe.directory $REPO_DIR"
# --- Start services ---