Skip to content

Commit

Permalink
autokill anvil
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrower95 committed Sep 9, 2024
1 parent 25c7c84 commit 0c2edb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy-from-scratch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
- name: Start anvil and deploy
run: |
anvil --block-time 1 --chain-id 31337 &
ANVIL_PID=$!
echo "---Waiting for anvil to start..."
sleep 10 # Give Anvil some time to start
Expand All @@ -67,4 +68,5 @@ jobs:
--private-key "0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80" \
--broadcast \
--sig "run(string memory configFile)" \
-- devnet/deploy_from_scratch.anvil.config.json
-- devnet/deploy_from_scratch.anvil.config.json
kill $ANVIL_PID

0 comments on commit 0c2edb2

Please sign in to comment.