From 3ff261b5d004efb7e2c5314879cf06862f21aba2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Haas?= <juergen.haas@lakedrops.com>
Date: Wed, 29 Dec 2021 17:25:47 +0000
Subject: [PATCH] Run pipeline only for master branch

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b181743..e853d0f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,6 +18,8 @@ Build:
     when: always
     paths:
       - site/
+  only:
+    - master
 
 Deploy:
   stage: deploy
@@ -28,3 +30,5 @@ Deploy:
   script:
     - a -m synchronize -a "src=${PWD}/site/ dest=/var/www/docs/devops-tools" --limit=bsdevop1
   cache: {}
+  only:
+    - master
-- 
GitLab