From bedb25f58b4e253254cb73f0550120069e238ccc Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Wed, 10 Jul 2024 13:41:26 -0500 Subject: [PATCH] fix: harmonize mirroring with detector_benchmarks --- .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 e75d47c3..d4c39d5f 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