From acfe1b6a157fbe526683284edda0efcecf2ce65a Mon Sep 17 00:00:00 2001 From: Igor Date: Mon, 24 Feb 2025 09:10:39 +0100 Subject: [PATCH 1/2] Update mirror.yml --- .github/workflows/mirror.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 94529251..f4b7db28 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -1,6 +1,7 @@ # .github/workflows/mirror.yml name: "Mirror repository artifacts" on: + workflow_dispatch: repository_dispatch: types: ["Mirror"] From 13c010016cb9f93781a130d185679ad2a795acfd Mon Sep 17 00:00:00 2001 From: Igor Date: Fri, 7 Mar 2025 08:17:03 +0100 Subject: [PATCH 2/2] Update mirror.yml --- .github/workflows/mirror.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index f4b7db28..a4f95329 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -2,13 +2,20 @@ name: "Mirror repository artifacts" on: workflow_dispatch: + inputs: + repository: + required: false + type: string + folder: + required: false + type: string repository_dispatch: types: ["Mirror"] env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PULL_REPOSITORY: "${{ github.event.client_payload.pull_repository || 'cli/cli' }}" # username/repository - CDN_TAG: "${{ github.event.client_payload.cdn_tag || 'os' }}" # folder on server + PULL_REPOSITORY: "${{ github.event.client_payload.pull_repository || inputs.repository }}" # username/repository + CDN_TAG: "${{ github.event.client_payload.cdn_tag || inputs.folder }}" # folder on server PULL_TAG: "" # leave empty for latest jobs: