diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5967f84374c16f30d66148fae8a296b1c03b5cad..2a6e39e0bb24d159513a2f748a251ef90e935746 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -597,7 +597,8 @@ docs-latest:
     - mkdocs build && cp -r ./site ./final/latest
     - find ./final/latest -type f -exec sed -i -e "s/\$TAG/latest/g" {} \;
     - find ./final/latest -type f -exec sed -i -e "s/\$VERSION/latest/g" {} \;
-    - cp ./.docs/redirect.html ./final/index.html ./final/1.3/index.html
+    - cp ./.docs/redirect.html ./final/index.html
+    - cp ./.docs/redirect.html ./final/1.3/index.html
     - cp -r ./swagger/latest ./final/latest/swagger
   cache:
     paths: