From cfd8e8b798e0ed5a54166435dd95d6f4467b141a Mon Sep 17 00:00:00 2001 From: ce0la Date: Fri, 14 Jun 2024 13:35:23 +0100 Subject: [PATCH] Update new workflow file for e2e test --- .github/workflows/test-deploy-e2e.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test-deploy-e2e.yaml b/.github/workflows/test-deploy-e2e.yaml index d1246d708dd..b5250564922 100644 --- a/.github/workflows/test-deploy-e2e.yaml +++ b/.github/workflows/test-deploy-e2e.yaml @@ -44,10 +44,9 @@ jobs: - name: Generate .env file working-directory: ./packages/e2e/ run: | - mnemonics=${{ secrets.mnemonics }} networkMagic=$(jq <<< '{"dev-preprod":1, "dev-preview":2, "dev-mainnet":764824073, "staging-preprod":1}' .${{ inputs.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 + 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 - name: 🧰 Setup Node.js uses: actions/setup-node@v3