diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c2ad9eb88741088747257d7d9cbfc76de1748987..9e2033a6b472cfd151ea5f8f2ace443711536e90 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,7 +11,9 @@ test:
     - ls
     - ls ..
     - mkdir -p ../public
+    - mkdir -p public
     - echo toto > ../public/index.html
+    - echo toto > public/index.html
     - ls ../public
     - cd web
     - hugo -D