mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 07:34:21 +01:00
add workflow to sync rpc commands
This commit is contained in:
committed by
Rusty Russell
parent
f64aaaf943
commit
be829a1475
28
.github/workflows/readme-rpc-sync.yml
vendored
Normal file
28
.github/workflows/readme-rpc-sync.yml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: ReadMe RPC Sync
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
paths:
|
||||
- 'doc/**.md'
|
||||
|
||||
jobs:
|
||||
rdme-rpc-sync:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.8'
|
||||
|
||||
- name: Install requests module
|
||||
run: python -m pip install requests
|
||||
|
||||
- name: Set environment variable and run
|
||||
env:
|
||||
README_API_KEY: ${{ secrets.README_API_KEY }}
|
||||
run: python .github/scripts/sync-rpc-cmds.py
|
||||
Reference in New Issue
Block a user