diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 853042b9..92ff7c9c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -81,11 +81,9 @@ failed_job: - git remote add mirror git@github.com:curbengh/urlhaus-filter.git - git push mirror master - # Run this job only when deploy_job failed - when: on_failure - rules: - if: '$CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "schedule"' - when: always + # Run this job only when deploy_job failed + when: on_failure - if: '$CI_COMMIT_REF_NAME == "master" && $CI_PIPELINE_SOURCE == "web"' - when: always + when: on_failure