diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1d806d7ac4bebf6edb1c105a2d4f890fdbf92e80..083446404efae15d95303a66d40ed320de632685 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,10 +1,16 @@
 image: node:latest
+
+stages:
+  - build
+  - deploy
+
 # http://docs.gitlab.com/ce/ci/yaml/README.html#cache
 cache:
   paths:
     - node_modules/
 
 pages:
+  stage: deploy
   script:
     - npm install
     - ./node_modules/.bin/gatsby build --prefix-paths