From 95eabc0242094cedb2c48af19c41e2fa0fa72b33 Mon Sep 17 00:00:00 2001 From: Sanskar Atrey Date: Mon, 7 Oct 2024 17:37:14 +0530 Subject: [PATCH] fix: cypress env fix (#719) --- .github/workflows/run-automation-test.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-automation-test.yml b/.github/workflows/run-automation-test.yml index d9c2d404..657daac0 100644 --- a/.github/workflows/run-automation-test.yml +++ b/.github/workflows/run-automation-test.yml @@ -12,8 +12,6 @@ jobs: runs-on: ubuntu-latest environment: Testing env: - HS_Pub_Key: ${{ secrets.HYPERSWITCH_PUBLISHABLE_KEY }} - HS_Sec_Key: ${{ secrets.HYPERSWITCH_SECRET_KEY }} HS_Prof_Id: ${{ secrets.PROFILE_ID }} HS_Server_Url: "https://sandbox.hyperswitch.io" HS_Client_Url: "http://localhost:9050" @@ -58,6 +56,6 @@ jobs: with: working-directory: ./cypress-tests env: - CYPRESS_HYPERSWITCH_PUBLISHABLE_KEY: $HS_Pub_Key - CYPRESS_HYPERSWITCH_SECRET_KEY: $HS_Sec_Key + CYPRESS_HYPERSWITCH_PUBLISHABLE_KEY: ${{ secrets.HYPERSWITCH_PUBLISHABLE_KEY }} + CYPRESS_HYPERSWITCH_SECRET_KEY: ${{ secrets.HYPERSWITCH_SECRET_KEY }} # Runs Cypress tests located in the specified directory