diff --git a/setup.sh b/setup.sh index db892c2..5566976 100644 --- a/setup.sh +++ b/setup.sh @@ -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 ---