Skip to content

Commit

Permalink
check runner ips
Browse files Browse the repository at this point in the history
  • Loading branch information
twoshark committed Nov 15, 2023
1 parent 5c76b34 commit 847ae9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/define_rpc_endpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- name: Check RPC Endpoints
id: check_endpoints
run: |
curl ifconfig.me
if ops/verify-geth-endpoint.sh "${{ matrix.l1_rpc_url }}"; then
if ops/verify-geth-endpoint.sh "${{ matrix.l2_rpc_url }}"; then
echo "Both RPC endpoints are up to date and not syncing."
Expand All @@ -45,6 +46,7 @@ jobs:
steps:
- name: Use RPC URLs
run: |
curl ifconfig.me.
L1_RPC_URL=${{ needs.check_rpc_endpoints.outputs.l1_rpc_url }}
L2_RPC_URL=${{ needs.check_rpc_endpoints.outputs.l2_rpc_url }}
echo "L1 RPC URL: $L1_RPC_URL"
Expand Down

0 comments on commit 847ae9c

Please sign in to comment.