From dc3e3e2dda3c793df053147c7fc1ffba94b8cc9a Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Mon, 21 Jul 2025 12:56:24 -0500 Subject: [PATCH 1/3] feat: mirror to code.jlab.org --- .github/workflows/mirror.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/mirror.yaml b/.github/workflows/mirror.yaml index 425c210a..afd07927 100644 --- a/.github/workflows/mirror.yaml +++ b/.github/workflows/mirror.yaml @@ -29,6 +29,13 @@ jobs: token: ${{ secrets.GITLAB_TOKEN }} username: ${{ secrets.GITLAB_USERNAME }} ciskip: true + - name: Push to code.jlab.org + uses: eic/gitlab-sync@master + with: + url: https://code.jlab.org/EIC/detector_benchmarks.git/ + token: ${{ secrets.CODEJLAB_TOKEN }} + username: ${{ secrets.CODEJLAB_USERNAME }} + ciskip: true - name: Trigger EICweb id: trigger_eicweb uses: eic/trigger-gitlab-ci@v3 From 77ee6ee28664aa2251c94608d9a6aab695687719 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Mon, 21 Jul 2025 13:10:39 -0500 Subject: [PATCH 2/3] fix: explicitly specify git remote name --- .github/workflows/mirror.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mirror.yaml b/.github/workflows/mirror.yaml index afd07927..482657fe 100644 --- a/.github/workflows/mirror.yaml +++ b/.github/workflows/mirror.yaml @@ -23,15 +23,17 @@ jobs: with: fetch-depth: 0 - name: Push to EICweb - uses: eic/gitlab-sync@master + uses: eic/gitlab-sync@target with: + remote: eicweb url: https://eicweb.phy.anl.gov/EIC/benchmarks/detector_benchmarks.git/ token: ${{ secrets.GITLAB_TOKEN }} username: ${{ secrets.GITLAB_USERNAME }} ciskip: true - name: Push to code.jlab.org - uses: eic/gitlab-sync@master + uses: eic/gitlab-sync@target with: + remote: jlab url: https://code.jlab.org/EIC/detector_benchmarks.git/ token: ${{ secrets.CODEJLAB_TOKEN }} username: ${{ secrets.CODEJLAB_USERNAME }} From ed4d7706eab13a272040838e881c33526b4f188e Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Mon, 21 Jul 2025 15:00:54 -0500 Subject: [PATCH 3/3] fix: eic/gitlab-sync@master again Co-authored-by: Dmitry Kalinkin --- .github/workflows/mirror.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mirror.yaml b/.github/workflows/mirror.yaml index 482657fe..e12e4774 100644 --- a/.github/workflows/mirror.yaml +++ b/.github/workflows/mirror.yaml @@ -23,7 +23,7 @@ jobs: with: fetch-depth: 0 - name: Push to EICweb - uses: eic/gitlab-sync@target + uses: eic/gitlab-sync@master with: remote: eicweb url: https://eicweb.phy.anl.gov/EIC/benchmarks/detector_benchmarks.git/ @@ -31,7 +31,7 @@ jobs: username: ${{ secrets.GITLAB_USERNAME }} ciskip: true - name: Push to code.jlab.org - uses: eic/gitlab-sync@target + uses: eic/gitlab-sync@master with: remote: jlab url: https://code.jlab.org/EIC/detector_benchmarks.git/