add /opt/hantim as git safe.directory for deploy user
This commit is contained in:
@@ -86,6 +86,7 @@ if [ ! -f /home/deploy/.ssh/authorized_keys ]; then
|
|||||||
echo " into /home/deploy/.ssh/authorized_keys"
|
echo " into /home/deploy/.ssh/authorized_keys"
|
||||||
fi
|
fi
|
||||||
chown -R deploy:deploy /home/deploy/.ssh
|
chown -R deploy:deploy /home/deploy/.ssh
|
||||||
|
su -s /bin/bash deploy -c "git config --global --add safe.directory $REPO_DIR"
|
||||||
|
|
||||||
# --- Start services ---
|
# --- Start services ---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user