diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9b447a220b2094ae1abe7b7bc7c587491e70e025..3c778bcb4c34a7dffc80eb3355328ef9683e153d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,9 +8,10 @@ pages:
     - if: '$CI_SERVER_HOST == "gitlab.phy.anl.gov" && $CI_COMMIT_BRANCH == "master"' 
   script:
     - git clone https://github.com/root-project/jsroot.git public
-      #- cp -r `root-config --prefix`/js public
-    - cd public && ln -s index.htm index.html && cd ..
     - cp .htaccess public/.
+    - cp index.htm public/.
+    - cd public && ln -s index.htm index.html && cd ..
+      #- cp -r `root-config --prefix`/js public
   artifacts:
     paths:
     - public