Skip to content

Commit

Permalink
BC-4968 update env variable script
Browse files Browse the repository at this point in the history
  • Loading branch information
UzaeirKhan committed Sep 6, 2023
1 parent d39ebfa commit c0d6a4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/set-env-vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ for var in "${env_vars[@]}"; do
if [[ $var == *"_NBC_"* ]]; then
ENV="nbc"
echo "Setting ${var}=${ENV_PREFIX}:${var}"
echo "${var}=op://cy-${ENV_PREFIX}-${ENV}/cypress/${var}" >>$GITHUB_ENV
echo "${var}=op://cy-${ENV_PREFIX}-${ENV}/cypress/${var}" >> $GITHUB_ENV
elif [[ $var == *"_BRB_"* ]]; then
ENV="brb"
echo "Setting ${var}=${ENV_PREFIX}:${var}"
echo "${var}=op://cy-${ENV_PREFIX}-${ENV}/cypress/${var}" >>$GITHUB_ENV
echo "${var}=op://cy-${ENV_PREFIX}-${ENV}/cypress/${var}" >> $GITHUB_ENV
else
ENV="dbc"
echo "Setting ${var}=${ENV_PREFIX}:${var}"
echo "${var}=op://cy-${ENV_PREFIX}-${ENV}/cypress/${var}" >>$GITHUB_ENV
echo "${var}=op://cy-${ENV_PREFIX}-${ENV}/cypress/${var}" >> $GITHUB_ENV
fi

done

0 comments on commit c0d6a4c

Please sign in to comment.