From 271e83b84a8bfd10ba6ce83682b14f2289934ab0 Mon Sep 17 00:00:00 2001 From: Marc Riera Irigoyen Date: Sun, 28 Jun 2020 20:32:15 +0200 Subject: [PATCH] Limit CI to master --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 32fbf6e..80125d0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,8 +14,12 @@ build: artifacts: paths: - public + only: + - master deploy: stage: deploy script: - rsync -hrv --delete public/ /var/opt/gitlab-runner/builds/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/ + only: + - master