changing from bash to sh

This commit is contained in:
kant 2023-12-11 18:00:26 -08:00
parent e660dc1481
commit 8df9f35976

View file

@ -120,8 +120,8 @@ services:
environment:
RPC_URL: "http://bootnode:8545" # Pointing to the Geth bootnode
command: >
bash -c "forge compile &&
forge script scripts/DeployScripts.s.sol:DeployScript --rpc-url '$RPC_URL' --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 --broadcast --chain-id 17864 -vvvv"
sh -c "forge compile &&
forge script scripts/DeployScripts.s.sol:DeployScript --rpc-url '$RPC_URL' --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 --broadcast --chain-id 17864 -vvvv || echo 'Script execution failed'"
depends_on:
- bootnode