diff --git a/.github/workflows/autodocs.yml b/.github/workflows/autodocs.yml index 7c5c6eca..c378e177 100644 --- a/.github/workflows/autodocs.yml +++ b/.github/workflows/autodocs.yml @@ -13,7 +13,10 @@ jobs: - name: Install Launcher id: install-launcher - run: cargo install --git https://github.com/${{ github.repository }} --branch ${{ github.head_ref }} text-generation-launcher + env: + REF: ${{ github.head_ref }} + REPO: ${{ github.repository }} + run: cargo install --git "https://github.com/$REPO" --branch "$REF" text-generation-launcher - name: Check launcher Docs are up-to-date run: |