Skip to content

Commit

Permalink
UPdate workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
ce0la committed Jun 14, 2024
1 parent 6723da3 commit 581fbc1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified .github/workflows/.test-deploy-e2e.yaml.swp
Binary file not shown.
2 changes: 1 addition & 1 deletion .github/workflows/test-deploy-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 581fbc1

Please sign in to comment.