From 398408181dfce99dedf17371a13b028941fbc0df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Luttringer?= <seblu@seblu.net> Date: Wed, 3 Jun 2020 12:09:58 +0200 Subject: [PATCH] Limit CI build to tagged version Because of duplicate build as CPU expensive and slow down release process. --- .gitlab-ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b00b35f..c1c8688 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,6 +10,9 @@ makepkg: paths: - config.x86_64 - "*.pkg.tar.*" + only: + - tags + - web commitpkg: stage: deploy @@ -23,6 +26,5 @@ commitpkg: - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null - seblu-push only: - refs: - - tags - - web + - tags + - web -- GitLab