diff --git a/.github/workflows/auto_docs.yml b/.github/workflows/auto_docs.yml index a2142073..f496f1de 100644 --- a/.github/workflows/auto_docs.yml +++ b/.github/workflows/auto_docs.yml @@ -3,7 +3,7 @@ name: Automatic Documentation for Launcher on: push: paths: - - "../../launcher/src/main.rs" + - "/launcher/src/main.rs" push: branches: - main @@ -16,6 +16,13 @@ jobs: - name: Checkout code uses: actions/checkout@v2 + - name: Install Launcher + id: install-launcher + run: | + cd launcher + cargo build + cd .. + - name: Run TGI Launcher docs id: run-launcher-help run: | @@ -25,7 +32,7 @@ jobs: - name: Update Docs run: | output="${{ steps.run-launcher-help.outputs.output }}" - 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 \ No newline at end of file + 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 \ No newline at end of file