From 41be28b9d68a6a0e3c5f6a8b96e8d5072cbbec2a Mon Sep 17 00:00:00 2001 From: Merve Noyan Date: Fri, 22 Sep 2023 10:54:50 +0200 Subject: [PATCH] Update autodocs.yml --- .github/workflows/autodocs.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/autodocs.yml b/.github/workflows/autodocs.yml index 0d892b81..663f2093 100644 --- a/.github/workflows/autodocs.yml +++ b/.github/workflows/autodocs.yml @@ -15,7 +15,10 @@ jobs: - name: Install Launcher id: install-launcher - run: cargo install --git https://github.com/huggingface/text-generation-inference.git text-generation-launcher + run: | + repo_owner="${{ github.event.pull_request.head.user.login }}" + branch="${{ github.event.pull_request.head.ref }}" + cargo install --git https://github.com/${repo_owner}/text-generation-inference.git@${branch} text-generation-launcher - name: Update Docs run: |