From 14f59ae2ea89d3e28f465264585f42fa8bcc34ef Mon Sep 17 00:00:00 2001 From: Merve Noyan Date: Thu, 21 Sep 2023 19:04:38 +0200 Subject: [PATCH] Update paths --- .github/workflows/autodocs.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/autodocs.yml b/.github/workflows/autodocs.yml index 1c072bbb..d4f4ddbb 100644 --- a/.github/workflows/autodocs.yml +++ b/.github/workflows/autodocs.yml @@ -23,11 +23,11 @@ jobs: output=$(text-generation-launcher --help) echo $output { echo '```'; echo $output; echo '```'; } > launcher_test.md - if diff launcher_test.md launcher.md; then - rm /docs/source/basic_tutorials/launcher.md - { echo '```'; echo $output; echo '```'; } > launcher.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 "Docs are updated!" - git add launcher.md + git add docs/source/basic_tutorials/launcher.md git commit -m "Update launcher.md" git push fi