diff --git a/.github/workflows/rdme-docs-sync.yml b/.github/workflows/rdme-docs-sync.yml index e29809b1c568..14552bb5c855 100644 --- a/.github/workflows/rdme-docs-sync.yml +++ b/.github/workflows/rdme-docs-sync.yml @@ -6,6 +6,7 @@ on: - 'master' paths: - 'doc/**' + workflow_dispatch: jobs: rdme-docs-sync: diff --git a/.github/workflows/readme-rpc-sync.yml b/.github/workflows/readme-rpc-sync.yml index af218e64a360..25c7b00a2a2c 100644 --- a/.github/workflows/readme-rpc-sync.yml +++ b/.github/workflows/readme-rpc-sync.yml @@ -5,7 +5,12 @@ on: branches: - 'master' paths: - - 'doc/**.md' + - 'doc/schemas/lightning-*.json' + - 'doc/*.1.md' + - 'doc/*.5.md' + - 'doc/*.8.md' + - 'doc/lightningd-*.7.md' + workflow_dispatch: jobs: rdme-rpc-sync: @@ -19,22 +24,17 @@ jobs: with: python-version: '3.8' - - name: Install requests module - run: python -m pip install requests + - name: Install python modules + run: | + python -m pip install requests mako - name: Install dependencies run: bash -x .github/scripts/setup.sh - - name: Build + - name: Build (including rpc .md files) 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: