Skip to content

Commit

Permalink
remove condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Omolola-Akinleye committed Mar 20, 2024
1 parent 0797e76 commit 193b9ce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,8 @@ jobs:
if [[ $ec_api_key != '' && $input_ec_url == $ec_url ]]; then
echo "::add-mask::$ec_api_key"
echo "TF_VAR_ec_api_key=$ec_api_key" >> $GITHUB_ENV
elif [[ $ec_api_key == '' && $input_ec_url == $ec_url ]]; then
echo "TF_VAR_ec_api_key=${local_ec_api_key}" >> $GITHUB_ENV
elif [[ $ec_api_key == '' && $input_ec_url == $qa_ec_url ]]; then
echo "TF_VAR_ec_api_key=${local_qa_ec_api_key}" >> $GITHUB_ENV
echo "TF_VAR_ec_api_key=$TF_VAR_qa_ec_api_key" >> $GITHUB_ENV
elif [[ $ec_api_key != '' && $input_ec_url == $qa_ec_url ]]; then
echo "::add-mask::$ec_api_key"
echo "TF_VAR_ec_api_key=$ec_api_key" >> $GITHUB_ENV
Expand Down

0 comments on commit 193b9ce

Please sign in to comment.