diff --git a/.github/workflows/autodocs.yml b/.github/workflows/autodocs.yml index d4f4ddbb..f0dbdb0a 100644 --- a/.github/workflows/autodocs.yml +++ b/.github/workflows/autodocs.yml @@ -21,11 +21,11 @@ jobs: run: | echo text-generation-launcher --help output=$(text-generation-launcher --help) - echo $output { echo '```'; echo $output; echo '```'; } > launcher_test.md if diff launcher_test.md docs/source/basic_tutorials/launcher.md; then rm docs/source/basic_tutorials/launcher.md { echo '```'; echo $output; echo '```'; } > docs/source/basic_tutorials/launcher.md + echo "$(cat docs/source/basic_tutorials/launcher.md)" echo "Docs are updated!" git add docs/source/basic_tutorials/launcher.md git commit -m "Update launcher.md"