Update to use simpler python script.

This commit is contained in:
Nicolas Patry 2023-09-27 10:41:30 +00:00
parent 137a5d28c2
commit 9a3cb6fba8

View File

@ -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