Update Config local to remote name

This commit is contained in:
2025-11-18 11:00:01 +07:00
parent 9855a6c6ed
commit 6341d712ef
12 changed files with 49 additions and 49 deletions

View File

@@ -131,19 +131,19 @@ info "CSV file: $(basename "$CSV_FILE") ($CSV_SIZE)"
# Select target environment for import
echo ""
echo "Select TARGET environment for import:"
echo "1) SandboxLocal"
echo "2) ProductionLocal"
echo "1) SandboxRemote"
echo "2) ProductionRemote"
echo ""
read -p "Enter your choice (1 or 2): " TARGET_ENV_CHOICE
case $TARGET_ENV_CHOICE in
1)
TARGET_ENVIRONMENT="SandboxLocal"
APPSETTINGS_FILE="$SRC_DIR/Managing.Api/appsettings.SandboxLocal.json"
TARGET_ENVIRONMENT="SandboxRemote"
APPSETTINGS_FILE="$SRC_DIR/Managing.Api/appsettings.SandboxRemote.json"
;;
2)
TARGET_ENVIRONMENT="ProductionLocal"
APPSETTINGS_FILE="$SRC_DIR/Managing.Api/appsettings.ProductionLocal.json"
TARGET_ENVIRONMENT="ProductionRemote"
APPSETTINGS_FILE="$SRC_DIR/Managing.Api/appsettings.ProductionRemote.json"
;;
*)
error "Invalid choice. Please run the script again and select 1 or 2."