diff --git a/.github/workflows/autodocs.yml b/.github/workflows/autodocs.yml index a0c1b90a..a981c09c 100644 --- a/.github/workflows/autodocs.yml +++ b/.github/workflows/autodocs.yml @@ -15,9 +15,7 @@ jobs: id: install-launcher run: cargo install --git https://github.com/${{ github.repository }} --branch ${{ github.head_ref }} text-generation-launcher - - name: Update Docs + - name: Check launcher Docs are up-to-date run: | echo text-generation-launcher --help - output=$(text-generation-launcher --help) - { echo '```'; echo "$output"; echo '```'; } > launcher_test.md - diff launcher_test.md docs/source/basic_tutorials/launcher.md + python update_doc.py --check