diff --git a/.github/workflows/run-automation-test.yml b/.github/workflows/run-automation-test.yml index 664694204..d225a8607 100644 --- a/.github/workflows/run-automation-test.yml +++ b/.github/workflows/run-automation-test.yml @@ -30,17 +30,21 @@ jobs: # - name: Install dependencies # run: npm install && npm run postinstall # + # - name: Create .env file + # working-directory: ./Hyperswitch-React-Demo-App + # run: | + # touch .env + # echo STATIC_DIR = ./dist >> .env + # echo HYPERSWITCH_PUBLISHABLE_KEY = $Pub_Key >> .env + # echo HYPERSWITCH_SECRET_KEY = $Sec_Key >> .env + # echo PROFILE_ID = $Prof_Id >> .env + # echo HYPERSWITCH_SERVER_URL = "https://sandbox.hyperswitch.io" >> .env + # echo HYPERSWITCH_CLIENT_URL = "http://localhost:9050" >> .env + # cat .env + - name: Create .env file working-directory: ./Hyperswitch-React-Demo-App - run: | - touch .env - echo STATIC_DIR = ./dist >> .env - echo HYPERSWITCH_PUBLISHABLE_KEY = $Pub_Key >> .env - echo HYPERSWITCH_SECRET_KEY = $Sec_Key >> .env - echo PROFILE_ID = $Prof_Id >> .env - echo HYPERSWITCH_SERVER_URL = "https://sandbox.hyperswitch.io" >> .env - echo HYPERSWITCH_CLIENT_URL = "http://localhost:9050" >> .env - cat .env + run: echo "My HYPERSWITCH_PUBLISHABLE_KEY is $Pub_Key" # - name: Build and start local server # run: npm run re:build && npm start &