From 19365a7ad0f541396cca61f354a207b4dcec8833 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20L=C3=A1szl=C3=B3?= <rlacko99@gmail.com> Date: Wed, 16 Dec 2020 18:00:09 +0100 Subject: [PATCH] Update pipeline to only run on master --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f7853b6..b40b49c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,8 @@ Build Client: stage: Build tags: [docker] image: node:14.15.0-buster + only: + - master script: - cd client - npm install @@ -27,6 +29,8 @@ Build Server: stage: Build tags: [docker] image: node:14.15.0-buster + only: + - master script: - cd server - npm install -- GitLab