diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 60e841acae987d290ed28f097b346a88e76b737c..3034e9d4523c3e6c9936800d39a875a66dfa03ba 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -64,7 +64,8 @@ job_deploy_pages:
   stage: deploy
   image: morkolai/paa-bittet-ci
   script:
-  - echo "<html><h1>Docs will appear here</h1></html>"
+  - mkdir public
+  - echo "<html><h1>Docs will appear here</h1></html>" > public/index.html
   artifacts:
     paths:
     - public