From 11a889cc165ff39a4c77a293c0610e7255471ed7 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 0d892b81fce..663f2093e8d 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: |