From d4ce7c57d072f25bf98f00ee5117eabb06491659 Mon Sep 17 00:00:00 2001
From: Lennart Kramer <lennart.kramer@stud.uni-goettingen.de>
Date: Wed, 1 Jul 2020 18:26:57 +0200
Subject: [PATCH] only run pipeline for web when web changed

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 16ed886..ba0ea34 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -19,6 +19,10 @@ steve_jobs:
     - go get github.com/prometheus/client_golang/prometheus/promhttp
     - cd src/web
     - GOBIN=${CI_PROJECT_DIR}/bin go install
+  only:
+   changes:
+     - src/web/**
+     
   artifacts:
     paths:
     - bin/web
-- 
GitLab