From acc42d8079ea652304e1347d7d4f0b4237803d34 Mon Sep 17 00:00:00 2001 From: Hector Date: Sun, 7 Feb 2021 11:00:13 +0000 Subject: [PATCH] ci: restrict build step to main branch and tags (#6) --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a1a0f6c..cb7bc76 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,6 +24,9 @@ test: build: stage: build + only: + - main + - tags script: - git fetch --tags - make build/snapshot