Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lesterli committed Oct 19, 2024
1 parent 1536da1 commit b145953
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/publish-bitcoin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ on:
- 'v*'
paths:
- 'scripts/bitcoin/**'
pull_request:
paths:
- 'scripts/bitcoin/**'

env:
# Use docker.io for Docker Hub if empty
Expand Down
3 changes: 1 addition & 2 deletions scripts/bitcoin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ if [[ "$NETWORK" == "regtest" ]]; then
echo "Imported BTC address: ${BTCSTAKER_ADDR}"

echo "Generating a block every ${GENERATE_INTERVAL_SECS} seconds."
echo "Press [CTRL+C] to stop..."
while true; do
bitcoin-cli -${NETWORK} -rpcuser="$RPC_USER" -rpcpassword="$RPC_PASS" -rpcwallet="$WALLET_NAME" -generate 1
echo "Periodically send funds to the address ${BTCSTAKER_ADDR} for wallet ${BTCSTAKER_WALLET_NAME}..."
Expand All @@ -102,6 +101,6 @@ if [[ "$NETWORK" == "regtest" ]]; then
done
elif [[ "$NETWORK" == "signet" ]]; then
# Keep the container running
echo "Bitcoind is running. Press CTRL+C to stop..."
echo "Bitcoind is running..."
tail -f /dev/null
fi

0 comments on commit b145953

Please sign in to comment.