Skip to content

Commit

Permalink
feat(checkpoint-sync): use secrets for beacon node URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
samcm committed Feb 21, 2025
1 parent 976131d commit f52ea2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/checkpoint-sync/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ runs:
run: |
beacon_node=""
if [[ ${{ inputs.network }} == "mainnet" ]]; then
beacon_node="http://testing.mainnet.beacon-api.nimbus.team/"
beacon_node="{{ $secrets.MAINNET_BEACON_API_URL }}"
elif [[ ${{ inputs.network }} == "holesky" ]]; then
beacon_node="http://testing.holesky.beacon-api.nimbus.team/"
beacon_node="{{ $secrets.HOLESKY_BEACON_API_URL }}"
else
echo "Unsupported network: ${{ inputs.network }}"
exit 1
Expand Down

0 comments on commit f52ea2a

Please sign in to comment.