From 479173c95524f9da091cc5cc22ccb15482a7a76e Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Thu, 20 Jan 2022 22:59:11 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6ce07bf..94f5144 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,10 +5,10 @@ docker-build: stage: build rules: - - changes: # only run CI when these files have changed + - if: '$CI_COMMIT_REF_NAME == "master"' # only run on master + changes: # only run CI when these files have changed - "*.py" - "Dockerfile" - - ".gitlab-ci.yml" # services configure images that run during jobs linked to the image (above) services: