diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 77e7bae..c07192f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -72,10 +72,8 @@ update: before_script: - *scripts_deploy - *scripts_base - only: - - main@gitlab.skynet.ie/compsoc1/skynet/nixos - except: - - merge_requests + rules: + - if: '$CI_PROJECT_NAMESPACE == "compsoc1/skynet/nixos" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' build: <<: *builder