diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e4d78b877dc981a7a5bac364c29e4cfa433e05d5..387808a768c44c6db7d7a10fbfc59ff38e0864f2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,6 +5,8 @@ stages:
 build:
   image: node:latest
   stage: build
+  only:
+    - master
   script:
     - npm install --progress=false
     - npm run build
@@ -16,6 +18,8 @@ build:
 deploy:
   image: uibit/awscli:latest
   stage: deploy
+  only:
+    - master
   script:
   - rm -rf ~/.aws
   - mv  .aws ~/