diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c9f5fadb6c31741d7ac353a8e126031b21b289d3..6ccd29d42362137f0f20480dbfa04d2aea1904c6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,6 +3,7 @@ image: alpine:latest
 pages:
   stage: deploy
   script:
+  - find . -type f -name 'index.htm' -exec sh -c 'x="{}"; y=$(echo "$x" | sed -e 's/.htm/.html/g') ; cp $x $y' \;
   - echo "Deploying to https://transfer.hft-stuttgart.de/pages/$CI_PROJECT_PATH/"
   artifacts:
     paths: