diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b1817432d9271ab73510e02fb53c584ed9379464..e853d0f71b6132afa5966ec21a15ef0c4b600ded 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,6 +18,8 @@ Build:
     when: always
     paths:
       - site/
+  only:
+    - master
 
 Deploy:
   stage: deploy
@@ -28,3 +30,5 @@ Deploy:
   script:
     - a -m synchronize -a "src=${PWD}/site/ dest=/var/www/docs/devops-tools" --limit=bsdevop1
   cache: {}
+  only:
+    - master