From 35290075ad4452864572993cea175f90cd5342c0 Mon Sep 17 00:00:00 2001 From: Ludovic Muller Date: Wed, 21 Jan 2026 20:57:05 +0100 Subject: [PATCH 1/2] ci: make source repo dynamic --- .github/workflows/gitlab-mirror.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gitlab-mirror.yaml b/.github/workflows/gitlab-mirror.yaml index ad51eed69..65e8e04b4 100644 --- a/.github/workflows/gitlab-mirror.yaml +++ b/.github/workflows/gitlab-mirror.yaml @@ -21,5 +21,5 @@ jobs: env: SSH_PRIVATE_KEY: ${{ secrets.GITLAB_SSH_PRIVATE_KEY }} with: - source-repo: "git@github.com:visualize-admin/visualization-tool.git" + source-repo: "git@github.com:${{ github.repository }}.git" destination-repo: "git@gitlab.ldbar.ch:interactivethings/visualization-tool.git" From 133df534ec6497828cd194a6005021a891715e58 Mon Sep 17 00:00:00 2001 From: Ludovic Muller Date: Wed, 21 Jan 2026 21:00:00 +0100 Subject: [PATCH 2/2] ci: make destination repo configurable --- .github/workflows/gitlab-mirror.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gitlab-mirror.yaml b/.github/workflows/gitlab-mirror.yaml index 65e8e04b4..dac48ff0c 100644 --- a/.github/workflows/gitlab-mirror.yaml +++ b/.github/workflows/gitlab-mirror.yaml @@ -22,4 +22,4 @@ jobs: SSH_PRIVATE_KEY: ${{ secrets.GITLAB_SSH_PRIVATE_KEY }} with: source-repo: "git@github.com:${{ github.repository }}.git" - destination-repo: "git@gitlab.ldbar.ch:interactivethings/visualization-tool.git" + destination-repo: ${{ vars.GITLAB_DESTINATION_REPO }}