Update autodocs.yml

This commit is contained in:
Merve Noyan 2023-09-22 10:54:50 +02:00 committed by Nicolas Patry
parent cd1c674099
commit 41be28b9d6

View File

@ -15,7 +15,10 @@ jobs:
- name: Install Launcher - name: Install Launcher
id: 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 - name: Update Docs
run: | run: |