mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
Add block height workflow
This commit is contained in:
parent
a567f44b3c
commit
693b845c45
2 changed files with 43 additions and 0 deletions
19
.github/workflows/get_backend_block_height.yml
vendored
Normal file
19
.github/workflows/get_backend_block_height.yml
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue