From f2fb96447c5c055e82a51eb137629e6a208ec18f Mon Sep 17 00:00:00 2001
From: Florian Sesser <florian@privatestorage.io>
Date: Tue, 27 Apr 2021 14:07:20 +0000
Subject: [PATCH] CI Config: Publish built docs again

Using a copy of the docs artifacts for packing up
should not exhibit the problems from earlier.
---
 .gitlab-ci.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3428fbf5..469cabbe 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,6 +9,11 @@ docs:
   stage: "build"
   script:
     - "nix-shell --run 'nix-build docs.nix'"
+    - "cp --recursive --no-preserve=mode result/docs/.* docs/build/"
+  artifacts:
+    paths:
+      - "docs/build/"
+    expose_as: "docs-${CI_COMMIT_SHORT_SHA}"
 
 unit-tests:
   stage: "test"
-- 
GitLab