From 6034037a67ccc6f59617bedc51aaf6cc4e43fb49 Mon Sep 17 00:00:00 2001 From: Jan Habscheid <jan.habscheid@rwth-aachen.de> Date: Mon, 10 Mar 2025 12:26:15 +0100 Subject: [PATCH] Update gitlab CI - only on main and remove environment --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5a8705ec7c..0e2113c2ea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,14 +9,13 @@ image: busybox pages: stage: deploy - environment: production tags: - docker script: - - echo "The site will be deployed to $CI_PAGES_URL" + # - echo "The site will be deployed to $CI_PAGES_URL" - mv docs/build public # Move the build output to the "public" directory artifacts: paths: - public - rules: - - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH + only: + - main -- GitLab