mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 20:09:18 +01:00
doc: update rpc docs before pushing to readme
Now that our rpc documenation is generated from schema, we need to build the docs before trying to update the rdme contents. The goal is to fix the following issue with the rdme-rpc-sync workflow: Run python .github/scripts/sync-rpc-cmds.py lightning-addgossip lightning-addgossip.7.md Traceback (most recent call last): File .github/scripts/sync-rpc-cmds.py, line 92, in <module> main() File .github/scripts/sync-rpc-cmds.py, line 82, in main with open(doc/ + file) as f: FileNotFoundError: [Errno 2] No such file or directory: 'doc/lightning-addgossip.7.md'
This commit is contained in:
parent
cbf343269b
commit
8a2d6fa644
1 changed files with 14 additions and 0 deletions
14
.github/workflows/readme-rpc-sync.yml
vendored
14
.github/workflows/readme-rpc-sync.yml
vendored
|
@ -22,6 +22,20 @@ jobs:
|
|||
- name: Install requests module
|
||||
run: python -m pip install requests
|
||||
|
||||
- name: Install dependencies
|
||||
run: bash -x .github/scripts/setup.sh
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
./configure --enable-debugbuild
|
||||
make -j $(nproc)
|
||||
make -j $(nproc) check-gen-updated
|
||||
|
||||
- name: Make docs
|
||||
run: |
|
||||
make doc-all
|
||||
make check-doc
|
||||
|
||||
- name: Set environment variable and run
|
||||
env:
|
||||
README_API_KEY: ${{ secrets.README_API_KEY }}
|
||||
|
|
Loading…
Add table
Reference in a new issue