From 2bddc78dca3e1a4d442a1d37bb1772d8d835be30 Mon Sep 17 00:00:00 2001 From: Merve Noyan Date: Thu, 21 Sep 2023 12:17:47 +0200 Subject: [PATCH] fixes --- .github/workflows/auto_docs.yml | 13 ++++++------- docs/source/basic_tutorials/launcher.md | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/auto_docs.yml b/.github/workflows/auto_docs.yml index 89ec6606..a2142073 100644 --- a/.github/workflows/auto_docs.yml +++ b/.github/workflows/auto_docs.yml @@ -2,8 +2,11 @@ name: Automatic Documentation for Launcher on: push: - branches: - - main + paths: + - "../../launcher/src/main.rs" + push: + branches: + - main jobs: update_output: @@ -25,8 +28,4 @@ jobs: rm ../../docs/source/basic_tutorials/launcher.md echo '```' >> ../../docs/source/basic_tutorials/launcher.md echo $output >> ../../docs/source/basic_tutorials/launcher.md - echo '```' >> ../../docs/source/basic_tutorials/launcher.md - - git add launcher.md - git commit -m "Update launcher.md" - git push \ No newline at end of file + echo '```' >> ../../docs/source/basic_tutorials/launcher.md \ No newline at end of file diff --git a/docs/source/basic_tutorials/launcher.md b/docs/source/basic_tutorials/launcher.md index 8d64d4b3..3d24046f 100644 --- a/docs/source/basic_tutorials/launcher.md +++ b/docs/source/basic_tutorials/launcher.md @@ -226,4 +226,4 @@ Options: -V, --version Print version -``` +``` \ No newline at end of file