From 581fbc1cae7a618cf6523e5f2919977616484df4 Mon Sep 17 00:00:00 2001 From: ce0la Date: Fri, 14 Jun 2024 14:30:05 +0100 Subject: [PATCH] UPdate workflow file --- .github/workflows/.test-deploy-e2e.yaml.swp | Bin 12288 -> 12288 bytes .github/workflows/test-deploy-e2e.yaml | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/.test-deploy-e2e.yaml.swp b/.github/workflows/.test-deploy-e2e.yaml.swp index ddbff1d1aa0e869b478cfd60f46e45f151838431..335202df3fd10297bf7c4deea8d6e7255bce7b49 100644 GIT binary patch delta 251 zcmZojXh;xEG6?hZRj|}EU;qLE1_o=FoV2iwqVMHdSy>qv94B)sEU%x*&A{Lc#4k7* z7@h<1F(6(9#8ZH{1c-})I0}fpftU@5-*PZ8oCM-MK->Yu?LZt2#Ku6Z0>q3!{Dqx? z;Q$a%0pchd33^Is8GD@f`euT5=@IPD;t3jA#uvpFh07^26 z@-KL=KJ}*WtTwB8>#0hSlU&0WESVfI@F4aG?_| zXig>xij$kZ4&Xt1+R=n6l%p{D=w)YvmeivX6)8ahy34>#hJr26iW=*5NU}Z=kM)fB lkC~_;S+7LZA0CfYUG$9MKx>MT-tUS|Qw&wpJm!-p+aHbTFwX!0 diff --git a/.github/workflows/test-deploy-e2e.yaml b/.github/workflows/test-deploy-e2e.yaml index e7817e33240..3bb27954705 100644 --- a/.github/workflows/test-deploy-e2e.yaml +++ b/.github/workflows/test-deploy-e2e.yaml @@ -36,7 +36,7 @@ jobs: - name: Generate .env file working-directory: ./packages/e2e/ run: | - networkMagic=$(jq <<< '{"dev-preprod":1, "dev-preview":2, "dev-mainnet":764824073, "staging-preprod":1}' .${{ inputs.environment }}) + networkMagic=$(jq --arg environment "${{ inputs.environment }}" <<< '{"dev-preprod":1, "dev-preview":2, "dev-mainnet":764824073, "staging-preprod":1}' .[$environment]) ./src/scripts/generate-network-dotenv.sh ${{ github.event.inputs.network }} echo "KEY_MANAGEMENT_PARAMS='$(jq --argjson networkMagic $networkMagic --arg mnemonic "${{ secrets.MNEMONIC }}" <<< '{"bip32Ed25519": "Sodium", "accountIndex": 0, "chainId":{"networkId": 0, "networkMagic": 0}, "passphrase":"some_passphrase","mnemonic":"mnemonics"}' '.mnemonic=$mnemonic | .chainId.networkMagic=$networkMagic')'" >> .env