From 493b42a4fd2cf405b057f07823ca0252c558d38e Mon Sep 17 00:00:00 2001
From: jakub <jakub@elixxir.io>
Date: Tue, 12 Oct 2021 01:32:15 +0200
Subject: [PATCH] Update integration trigger

---
 .gitlab-ci.yml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0cd8bf1a..179fea6e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -78,8 +78,9 @@ tag:
 
 trigger_integration:
   stage: trigger_integration
-  script:
-    - "curl -X POST -F token=e34aa19ef1530e579c5d590873d3c6 -F ref=master https://gitlab.com/api/v4/projects/28/trigger/pipeline"
-    - "curl -X POST -F token=d1888aeb7d0e1e6573b313a59ff16e -F ref=master https://gitlab.com/api/v4/projects/28/trigger/pipeline"
+  trigger:
+    project: elixxir/integration
+    branch: $CI_COMMIT_REF_NAME
   only:
-    - master
+    - release
+    - master
\ No newline at end of file
-- 
GitLab