Files
palladum-lightning/.github/workflows/readme-rpc-sync.yml
ShahanaFarooqui 3af8a028ef workflow: Add uv installation step
RPC documentation is not syncing on readme server with error `uv: command not found`.

Changelog-None.
2025-10-01 15:41:02 +09:30

47 lines
1005 B
YAML

name: ReadMe RPC Sync
on:
push:
branches:
- 'master'
paths:
- 'doc/schemas/*.json'
- 'doc/*.1.md'
- 'doc/*.5.md'
- 'doc/*.8.md'
- 'doc/lightningd-*.7.md'
- 'doc/reckless.7.md'
workflow_dispatch:
jobs:
rdme-rpc-sync:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install python modules
run: |
python -m pip install requests mako grpcio-tools
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install dependencies
run: bash -x .github/scripts/setup.sh
- name: Build (including rpc .md files)
run: |
./configure --enable-debugbuild
make -j $(nproc)
- name: Set environment variable and run
env:
README_API_KEY: ${{ secrets.README_API_KEY }}
run: python .github/scripts/sync-rpc-cmds.py