From ce7143362031526a2bad2faca79b1081d9d9c4ad Mon Sep 17 00:00:00 2001 From: Laci Dusa Date: Fri, 13 Feb 2026 19:09:00 +0100 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6b34d89..7abae92 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,11 +1,20 @@ stages: # List of stages for jobs, and their order of execution + - notify1 - lint - build - clean - notify variables: GIT_SSH_COMMAND: "ssh -i /home/gitlab-runner/.ssh/id_rsa -o IdentitiesOnly=yes" +notify1: + stage: notify1 # Should be in a later stage than the job that might fail + when: on_success # <-- This is the key keyword + script: + - column=':' + - echo "${flow_id}" + - curl -XPOST http://192.168.77.101:8123/api/webhook/voice-notifications-tC_8YKxMJIAaQRV5riKuC7Zl --data-raw 'message=portainer build job completed' + - rm -rf /home/gitlab-runner/builds/1fLwHSKm2/0/jaydee/portainer.tmp lint: stage: lint image: r.sectorq.eu/jaydee/builder-portainer:latest