Update autodocs.yml

This commit is contained in:
Merve Noyan 2023-09-21 18:45:53 +02:00 committed by Nicolas Patry
parent 85bc6c1f3f
commit 5118f9d41f

View File

@ -19,8 +19,10 @@ jobs:
- name: Update Docs - name: Update Docs
run: | run: |
echo text-generation-launcher --help
output=$(text-generation-launcher --help) output=$(text-generation-launcher --help)
{ echo '```'; $output; echo '```'; } > launcher_test.md echo $output
{ echo '```'; echo $output; echo '```'; } > launcher_test.md
if diff launcher_test.md launcher.md; then if diff launcher_test.md launcher.md; then
rm /docs/source/basic_tutorials/launcher.md rm /docs/source/basic_tutorials/launcher.md
{ echo '```'; echo $output; echo '```'; } > launcher.md { echo '```'; echo $output; echo '```'; } > launcher.md