From 85bc6c1f3f64b4be9a24dde3434ae4b48be9bd4c Mon Sep 17 00:00:00 2001 From: Merve Noyan Date: Thu, 21 Sep 2023 18:33:51 +0200 Subject: [PATCH] Update autodocs.yml --- .github/workflows/autodocs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/autodocs.yml b/.github/workflows/autodocs.yml index 30e52df6..b9ca9e9e 100644 --- a/.github/workflows/autodocs.yml +++ b/.github/workflows/autodocs.yml @@ -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"