From c5ca9324423f3a7e773f4e0b20bc4472ea559955 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de>
Date: Tue, 7 Dec 2021 19:24:18 +0100
Subject: [PATCH] Only test docs when something has changed

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 06f5830a4..617760799 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,6 +34,11 @@ default:
     - cd docs
     - bundle config set --local path 'vendor'
     - bundle install
+  rules:
+    - changes:
+      - docs/**/*
+    - when: manual
+      allow_failure: true
 
 build-docs:
   stage: build
-- 
GitLab