Merge pull request #4278 from mempool/knorrium/add_sync_check_script

ops: Add block height workflow
This commit is contained in:
wiz
2024-03-06 16:18:46 +09:00
committed by GitHub
2 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
name: 'Check if servers are in sync'
on: [workflow_dispatch]
jobs:
print-backend-sha:
runs-on: 'ubuntu-latest'
name: Get block height
steps:
- name: Checkout
uses: actions/checkout@v3
with:
path: repo
- name: Run script
working-directory: repo
run: |
chmod +x ./scripts/get_block_tip_height.sh
sh ./scripts/get_block_tip_height.sh