From 493e59213e35f175c5032d3efc7fad744fb2a32c Mon Sep 17 00:00:00 2001 From: Pascal Thuma Date: Mon, 4 May 2026 14:32:45 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6c9df28..13b4497 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,6 +16,9 @@ build_job: # Target the specific runner we just created tags: - nextjs + rules: + - if: $CI_COMMIT_BRANCH == "main" + - if: $CI_PIPELINE_SOURCE == "merge_request_event" script: - echo "Installing dependencies..." - bun ci # 'npm ci' is faster and safer for CI/CD than 'npm install'