diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1d21e4bcf6ce1c697ed885abd770547ecf25c331..6d3e0f5c407d718a6452c7f3fc8500cbb064b1d1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -50,6 +50,9 @@ build-docs: script: - !reference [.workspace, script] - !reference [.build-docs, script] + # Artifatcs are relative to CI_PROJECT_DIR so we need to provide the build + # docs there. + - mv "$SCRATCH_DIR"/docs/build/ "$CI_PROJECT_DIR" || true artifacts: paths: - build