Skip to content

Commit

Permalink
deployment scripts fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanzhelyazkov committed Jun 17, 2024
1 parent b5e0431 commit 0dbf6a9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions deployments/run-fork.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ fi

# if deploy/scripts/${network_name} doesn't exist, create it and copy the network scripts
if [ ! -d "./deploy/scripts/${network_name}" ]; then
mkdir -p ./deploy/scripts/${network_name}
cp -r ./deploy/scripts/network/ ./deploy/scripts/${network_name}/
rsync -a --delete ./deploy/scripts/network/ ./deploy/scripts/${network_name}/
fi

# Create a new dir for the deploy script files and copy them there
Expand Down
5 changes: 2 additions & 3 deletions deployments/run-network.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ if [ -z "$network_id" ] || [ "$network_id" == "null" ]; then
network_id=${TENDERLY_NETWORK_ID:-"1"}
fi

# Create a new dir for the deploy script files and copy them there
mkdir -p ./deploy/scripts/${network_name}
cp -r ./deploy/scripts/network/ ./deploy/scripts/${network_name}/
# Create a new dir for the deploy script files and copy them there)
rsync -a --delete ./deploy/scripts/network/ ./deploy/scripts/${network_name}/

# Create a new dir for the deployment files
mkdir -p ./deployments/${network_name}
Expand Down
3 changes: 1 addition & 2 deletions deployments/run-testnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ fi

# if deploy/scripts/${network_name} doesn't exist, create it and copy the network scripts
if [ ! -d "./deploy/scripts/${network_name}" ]; then
mkdir -p ./deploy/scripts/${network_name}
cp -r ./deploy/scripts/network/ ./deploy/scripts/${network_name}/
rsync -a --delete ./deploy/scripts/network/ ./deploy/scripts/${network_name}/
fi

# Create a new dir for the deploy script files and copy them there
Expand Down

0 comments on commit 0dbf6a9

Please sign in to comment.