From d9ec8f7e3c077fb053c442114686d28f65351b21 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Fri, 12 Jul 2024 15:26:46 -0500 Subject: [PATCH] fix: harmonize mirroring with detector_benchmarks (#18) --- .github/workflows/mirror.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mirror.yaml b/.github/workflows/mirror.yaml index e75d47c3c..65f2927b7 100644 --- a/.github/workflows/mirror.yaml +++ b/.github/workflows/mirror.yaml @@ -1,7 +1,7 @@ name: Mirror and Trigger EICweb on: - pull_request: + delete: push: workflow_dispatch: @@ -22,7 +22,6 @@ jobs: with: fetch-depth: 0 - name: Push to EICweb - if: github.event_name == 'push' uses: eic/gitlab-sync@master with: url: https://eicweb.phy.anl.gov/containers/eic_container.git/ @@ -30,7 +29,7 @@ jobs: username: ${{ secrets.GITLAB_USERNAME }} ciskip: true - name: Trigger EICweb - if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' + if: ${{ github.event_name != 'delete' }} uses: eic/trigger-gitlab-ci@v3 with: url: https://eicweb.phy.anl.gov -- GitLab