diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index eb6954f37d136307083eb4a5df5d06172be93a94..b7e0df9172bb947d9996945cbd5597572b238bf4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,6 +38,8 @@ test:
       - .tox/screenshots
     reports:
       junit: .tox/junit.xml
+  only:
+    - master
 
 lint:
   stage: test
@@ -52,19 +54,18 @@ build_dist:
   artifacts:
     paths:
       - dist/
+  only:
+    - master
 
 pages:
   stage: deploy
   before_script:
     - cp -r .tox/screenshots/firefox docs/screenshots
   script:
-    - tox -e docs -- BUILDDIR=../public/docs
     - locale
   artifacts:
     paths:
     - public/
-  only:
-    - master
 
 build_docker:
   stage: build