Skip to content

Commit

Permalink
- remove dev test code
Browse files Browse the repository at this point in the history
  • Loading branch information
elipe17 committed Nov 14, 2024
1 parent 7b82bbe commit d51a85d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions scripts/deploy-backend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,10 @@ set_cf_envs()
cf_cmd="cf unset-env $CGAPPNAME_BACKEND $var_name ${!var_name}"
$cf_cmd
continue
# TODO: REMOVE DEV TESTING CODE
elif [[("$CF_SPACE" = "tanf-dev") ]]; then
elif [[ ("$CF_SPACE" = "tanf-staging") ]]; then
var_value=${!var_name}
staging_var="STAGING_$var_name"
if [[ "${!staging_var}" ]]; then
echo .
echo .
echo SETTING UNIQUE VALUE FOR $staging_var SPECIFIC VARIABLE
echo .
echo .
var_value=${!staging_var}
fi
cf_cmd="cf set-env $CGAPPNAME_BACKEND $var_name ${var_value}"
Expand Down

0 comments on commit d51a85d

Please sign in to comment.