mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 04:14:52 +00:00
Update autodocs.yml
This commit is contained in:
parent
ff13ab8e67
commit
073d8528d4
10
.github/workflows/autodocs.yml
vendored
10
.github/workflows/autodocs.yml
vendored
@ -1,9 +1,6 @@
|
|||||||
name: Automatic Documentation for Launcher
|
name: Automatic Documentation for Launcher
|
||||||
|
|
||||||
on:
|
on: [push]
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- launcher_docs
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update_docs:
|
update_docs:
|
||||||
@ -16,9 +13,8 @@ jobs:
|
|||||||
- name: Install Launcher
|
- name: Install Launcher
|
||||||
id: install-launcher
|
id: install-launcher
|
||||||
run: |
|
run: |
|
||||||
repo_owner=${{ github.event.pull_request.user.login }}
|
repo_owner=${{ github.event.actor.id }}
|
||||||
echo "Repo owner is $repo_owner"
|
branch=${GITHUB_REF##*/}
|
||||||
branch=${{ github.event.pull_request.ref }}
|
|
||||||
cargo install --git git+https://github.com/$repo_owner/text-generation-inference.git --branch $branch text-generation-launcher
|
cargo install --git git+https://github.com/$repo_owner/text-generation-inference.git --branch $branch text-generation-launcher
|
||||||
|
|
||||||
- name: Update Docs
|
- name: Update Docs
|
||||||
|
Loading…
Reference in New Issue
Block a user