From 7fc34ef15a9d8d0e443401035c19f15db694f6c4 Mon Sep 17 00:00:00 2001 From: srushti-patl Date: Mon, 4 Mar 2024 15:48:46 -0800 Subject: [PATCH] misc: Updating workflow for fetching secrets --- .github/workflows/test-uat-suite.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-uat-suite.yaml b/.github/workflows/test-uat-suite.yaml index 9190ef1e..f1a770a0 100644 --- a/.github/workflows/test-uat-suite.yaml +++ b/.github/workflows/test-uat-suite.yaml @@ -42,8 +42,8 @@ jobs: secret_content=${{ steps.read_secret.outputs.secret_content }} # Use conditional logic to map secret content to test directories - if [[ "$secret_content" == *"port_connection_port_zside"* ]]; then - echo "$secret_content" > examples/port-2-port-connection/terraform.tfvars.json + if [[ "$secret_content" == *"PORT_CONNECTION_PORT_ZSIDE"* ]]; then + echo "$secret_content" > ./examples/port-2-port-connection/terraform.tfvars.json fi - name: Run Go Tests