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