mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 20:04:52 +00:00
Update autodocs.yml
This commit is contained in:
parent
c646d74ba7
commit
85bc6c1f3f
5
.github/workflows/autodocs.yml
vendored
5
.github/workflows/autodocs.yml
vendored
@ -19,10 +19,11 @@ jobs:
|
||||
|
||||
- name: Update Docs
|
||||
run: |
|
||||
{ echo '```'; $(text-generation-launcher --help); echo '```'; } > launcher_test.md
|
||||
output=$(text-generation-launcher --help)
|
||||
{ echo '```'; $output; echo '```'; } > launcher_test.md
|
||||
if diff launcher_test.md launcher.md; then
|
||||
rm /docs/source/basic_tutorials/launcher.md
|
||||
{ echo '```'; echo $(text-generation-launcher --help); echo '```'; } > launcher.md
|
||||
{ echo '```'; echo $output; echo '```'; } > launcher.md
|
||||
echo "Docs are updated!"
|
||||
git add launcher.md
|
||||
git commit -m "Update launcher.md"
|
||||
|
Loading…
Reference in New Issue
Block a user