diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 53353c6dfd1ca66897418d15422075ecdc8f0802..f68ec3518400f02edfa58608a148c3873ec605d3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,17 +5,13 @@ default:
     - "nixos"
     - "shell"
 
-
 docs:
   stage: "build"
   script:
     - "nix-build --attr docs --out-link result-docs"
-    # GitLab wants to lchown artifacts.  It can't do that to store paths.  Get
-    # a copy of the docs outside of the store.
-    - "cp --recursive --no-preserve=mode ./result-docs/docs ./docs-build/"
   artifacts:
     paths:
-      - "./docs-build/"
+      - "./result-docs/docs"
     expose_as: "documentation"
 
 unit-tests: