From 7d07b38acca3f8aa96230140f40bec3b38bdbaf2 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Wed, 14 Feb 2024 16:12:26 +0100
Subject: [PATCH] ci(docs): Fix cached mdbook version overwrite

---
 docs/.gitlab-ci.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/.gitlab-ci.yaml b/docs/.gitlab-ci.yaml
index aab33cd68..2d176c271 100644
--- a/docs/.gitlab-ci.yaml
+++ b/docs/.gitlab-ci.yaml
@@ -24,7 +24,7 @@ build-docs:
     MDBOOK_VERSION: v0.4.37
   before_script:
     - export PATH="$PATH:$CARGO_HOME/bin"
-    - mdbook --version | grep "$MDBOOK_VERSION" || cargo install --version "${MDBOOK_VERSION//v}" mdbook
+    - mdbook --version | grep "$MDBOOK_VERSION" || cargo install --version "${MDBOOK_VERSION//v}" --force mdbook
   script:
     - mdbook build docs
   rules:
@@ -63,4 +63,4 @@ upload-docs:
           - images/**/README.md
           - charts/**/README.md
   tags:
-    - kubernetes
\ No newline at end of file
+    - kubernetes
-- 
GitLab