diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 51a77e1ae0057f082074e07741c5263d7b90192b..716818cd2a55c1241e42ff11a3c715c1d5b1d747 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,8 @@ image: harbor.pagoda.os.univ-lyon1.fr/ecoquery-hugo/hugo:latest
 variables:
   GIT_SUBMODULE_STRATEGY: recursive
 
-test:
+pages:
+  stage: deploy
   script:
     - pwd
     - ls
@@ -22,12 +23,6 @@ test:
     - pwd
     - mv public ../public/m1if37
     - ls ../public
-  except:
-    - master
-
-pages:
-  script:
-    - hugo
   artifacts:
     paths:
       - public