From 073d8528d493cfb84be70daa9af1f31a4857b6e0 Mon Sep 17 00:00:00 2001 From: Merve Noyan Date: Fri, 22 Sep 2023 11:29:20 +0200 Subject: [PATCH] Update autodocs.yml --- .github/workflows/autodocs.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/autodocs.yml b/.github/workflows/autodocs.yml index 71251811..de5dd26e 100644 --- a/.github/workflows/autodocs.yml +++ b/.github/workflows/autodocs.yml @@ -1,9 +1,6 @@ name: Automatic Documentation for Launcher -on: - push: - branches: - - launcher_docs +on: [push] jobs: update_docs: @@ -16,9 +13,8 @@ jobs: - name: Install Launcher id: install-launcher run: | - repo_owner=${{ github.event.pull_request.user.login }} - echo "Repo owner is $repo_owner" - branch=${{ github.event.pull_request.ref }} + repo_owner=${{ github.event.actor.id }} + branch=${GITHUB_REF##*/} cargo install --git git+https://github.com/$repo_owner/text-generation-inference.git --branch $branch text-generation-launcher - name: Update Docs