| 12345678910111213141516 |
- # Wait for node to start
- while ! /bin/netcat -z localhost 26657; do
- sleep 1
- done
- # Wait for first block
- while [ $(curl localhost:26657/status -ks | jq ".result.sync_info.latest_block_height|tonumber") -lt 1 ]; do
- sleep 1
- done
- sleep 2
- npm ci && node deploy.js
- echo "Going to sleep, interrupt if running manually"
- sleep infinity
|