Update Config local to remote name
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user