From c7edfd18a146817c319ba7686b8bc8b5fea371f8 Mon Sep 17 00:00:00 2001
From: Rehlein <daniel@rehlein.net>
Date: Thu, 23 Dec 2021 21:30:02 +0100
Subject: [PATCH] chore: add trigger for pipeline on main

---
 .gitlab-ci.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a74364b..076f4ea 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,7 @@ image: haskell:8.10.7
 
 stages:
   - build
+  - trigger
 
 build-job:
   only: 
@@ -16,3 +17,13 @@ build-job:
   artifacts:
     paths:
       - dist
+
+trigger-mapservice-pipeline:
+  only: 
+    refs:
+      - main
+  stage: trigger
+  script:
+    - curl -X POST -F token=$MAPSERVICE_TOKEN -F ref=main https://git.cccv.de/api/v4/projects/252/trigger/pipeline
+
+
-- 
GitLab