diff --git a/voice-call-service/deploy.sh b/voice-call-service/deploy.sh index d757d1e..c95b124 100755 --- a/voice-call-service/deploy.sh +++ b/voice-call-service/deploy.sh @@ -7,10 +7,16 @@ echo "==========================================================" echo " Starting Deploy process for Intaleq Voice Call Backend" echo "==========================================================" -# 1. Check for configuration file +# 1. Check for configuration file in parent directories if [ -f ../.env ]; then echo "[+] Found .env file in parent directory. Copying to current directory..." cp ../.env .env +elif [ -f ../../.env ]; then + echo "[+] Found .env file in grandparent directory. Copying to current directory..." + cp ../../.env .env +elif [ -f ../../../.env ]; then + echo "[+] Found .env file in great-grandparent directory. Copying to current directory..." + cp ../../../.env .env fi if [ ! -f .env ]; then