Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrower95 committed Sep 9, 2024
1 parent 2e49f34 commit 26cf5b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-from-scratch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

run-tests:
run-scratch-build:
needs: prepare
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -52,11 +52,11 @@ jobs:
version: nightly
- name: Start anvil and deploy
run: |
anvil --block-time 1 --chain-id 31337 > anvil_output.log 2>&1 &
sleep 5 # Give Anvil some time to start
anvil --block-time 1 --chain-id 31337 &
sleep 10 # Give Anvil some time to start
export RPC_URL="http://127.0.0.1:8545"
PRIVATE_KEY=$(grep -oP '(?<=Private Keys\s+==================\n\s*\(0\)\s+)0x[a-fA-F0-9]{64}' anvil_output.log)
PRIVATE_KEY="wrong"
echo "Extracted PRIVATE_KEY: $PRIVATE_KEY"
RUST_LOG=forge,foundry=trace forge script script/deploy/local/Deploy_From_Scratch.s.sol \
Expand Down

0 comments on commit 26cf5b1

Please sign in to comment.