Loading gitlab-ci.yml +6 −2 Original line number Diff line number Diff line Loading @@ -33,7 +33,9 @@ telegram-notification_success: NOTIFICATION_ICON: "✅" NOTIFICATION_TYPE: "succeeded" rules: - when: on_success - if: '( $CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "schedule" ) && $CI_COMMIT_BRANCH =~ $CUSTOM_BRANCHES' when: on_success - when: never telegram-notification_failure: extends: .common_telegram-notification Loading @@ -41,4 +43,6 @@ telegram-notification_failure: NOTIFICATION_ICON: "💥" NOTIFICATION_TYPE: "failed" rules: - when: on_failure - if: '( $CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "schedule" ) && $CI_COMMIT_BRANCH =~ $CUSTOM_BRANCHES' when: on_failure - when: never Loading
gitlab-ci.yml +6 −2 Original line number Diff line number Diff line Loading @@ -33,7 +33,9 @@ telegram-notification_success: NOTIFICATION_ICON: "✅" NOTIFICATION_TYPE: "succeeded" rules: - when: on_success - if: '( $CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "schedule" ) && $CI_COMMIT_BRANCH =~ $CUSTOM_BRANCHES' when: on_success - when: never telegram-notification_failure: extends: .common_telegram-notification Loading @@ -41,4 +43,6 @@ telegram-notification_failure: NOTIFICATION_ICON: "💥" NOTIFICATION_TYPE: "failed" rules: - when: on_failure - if: '( $CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "schedule" ) && $CI_COMMIT_BRANCH =~ $CUSTOM_BRANCHES' when: on_failure - when: never