From c27d642ebf6343f73f057f4ecd928ff72b521b10 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sat, 12 Nov 2022 18:50:11 +0100 Subject: [PATCH] build: use payload repository name --- .github/workflows/update-documentation.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-documentation.yml b/.github/workflows/update-documentation.yml index e2c4091..edd8faa 100644 --- a/.github/workflows/update-documentation.yml +++ b/.github/workflows/update-documentation.yml @@ -2,18 +2,19 @@ name: Update documentation on: repository_dispatch + types: [update-documentation] + jobs: build: name: Update documentation runs-on: ubuntu-latest - steps: - name: Clone repository uses: actions/checkout@v3 - name: Update submodule - run: git submodule update --recursive --remote repositories/${{ github.event.repository.full_name }} + run: git submodule update --recursive --remote repositories/${{ github.event.client_payload.repo }} - name: Commit changes uses: EndBug/add-and-commit@v9 with: - message: 'chore: update docs for ${{ github.event.repository.full_name }} to ${{github.event.client_payload.ref}}' + message: 'chore: update docs for ${{ github.event.client_payload.repo }} to ${{github.event.client_payload.ref}}' default_author: ReVanced