From b6d11bc84e26ff9a726fb980d19a725073b3dec8 Mon Sep 17 00:00:00 2001 From: hael Date: Wed, 24 May 2023 06:14:19 +0000 Subject: [PATCH] fixes --- deploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy.sh b/deploy.sh index 7420395..518f34d 100755 --- a/deploy.sh +++ b/deploy.sh @@ -65,9 +65,9 @@ fi install_local_backend() { - sed -i s/DOMAIN_NAME/$DOMAIN/g /tmp/$LOCAL_BACKEND_PROXY/*.json + sed -i s/DOMAIN_NAME/$DOMAIN/g /tmp/$LOCAL_BACKEND_REPO/*.json - cp -rv /tmp/$LOCAL_BACKEND_PROXY/*.json $SERVICE_DIR/ ; + cp -rv /tmp/$LOCAL_BACKEND_REPO/*.json $SERVICE_DIR/ ; } install_core_dns() { @@ -146,6 +146,7 @@ git clone ssh://$GIT_REPO/$ORGANIZATION/$CORE_DNS.git /tmp/$CORE_DNS if [[ "$LOCAL_PROXY" == "YES" || "$LOCAL_PROXY" == "TRUE" ]]; then git clone ssh://$GIT_REPO/$ORGANIZATION/$LOCAL_PROXY_REPO.git /tmp/$LOCAL_PROXY_REPO + git clone ssh://$GIT_REPO/$ORGANIZATION/$LOCAL_BACKEND_REPO.git /tmp/$LOCAL_BACKEND_REPO fi if [[ "$VPN_PROXY" == "YES" || "$VPN_PROXY" == "TRUE" ]]; then @@ -156,7 +157,6 @@ if [[ "$CRON" == "YES" || "$CRON" == "TRUE" ]]; then git clone ssh://$GIT_REPO/$ORGANIZATION/$CRON_REPO.git /tmp/$CRON_REPO fi -git clone ssh://$GIT_REPO/$ORGANIZATION/$LOCAL_BACKEND_REPO.git /tmp/$LOCAL_BACKEND_REPO # INSTALL PROXY SERVICES