diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f23bb711edf71381986070b8c0a64d44d66cb4b0..7573eb41891e73c5f04f643398c425d65f3f5fdb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,9 +6,9 @@ cache:
   paths:
     - node_modules/ # Node modules and dependencies
 
-before_script:
+default:
   image: node:10
-  script:
+  before_script:
     - npm install gitbook-cli -g # install gitbook
     - gitbook fetch 3.2.3 # fetch final stable version
     - gitbook install # add any requested plugins in book.json