From 10bd36e0d68ac216c1bdcd2baddd98ebff2606fe Mon Sep 17 00:00:00 2001
From: Manuel Kieweg <mail@manuelkieweg.de>
Date: Fri, 9 Oct 2020 11:34:04 +0100
Subject: [PATCH] cache mdbook

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4397eec1c..d4e0db8c8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -71,7 +71,7 @@ documentation:pdf:
   - mdbook build ./documentation/ --dest-dir public
   cache:
     paths:
-    - target
+    - /root/.cargo/bin/mdbook
 
 documentation:static:
   rules:
@@ -85,9 +85,6 @@ documentation:static:
 documentation:test:
   rules:
     - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
-  cache:
-    paths:
-    - target
   <<: *rust
 
 sast:
-- 
GitLab