diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 63092ed793d823bbd00eb7a0fffcf0326dd50b13..9d0150a718cddedb4f99096bb4b8fd95b317f2bc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,19 @@
 # The Docker image that will be used to build your app
 image: harbor.pagoda.os.univ-lyon1.fr/ecoquery-hugo/hugo:latest
 
+
+pages:
+  script:
+      - cd web
+      - hugo
+      - mv public ../public
+  artifacts:
+    paths:
+      - public
+  only:
+    - master
+
+
 test:
   script:
       - pwd
@@ -14,13 +27,3 @@ test:
   except:
     - master
 
-pages:
-  script:
-      - cd web
-      - hugo
-      - mv public ../public
-  artifacts:
-    paths:
-      - public
-  only:
-    - master