diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ddaa795..5400f06 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -39,8 +39,13 @@ pages: artifacts: paths: - public - only: - - main + rules: + # https://gitlab-docs.creationline.com/ee/ci/jobs/job_control.html#specify-when-jobs-run-with-rules + - if: $CI_COMMIT_BRANCH == "main" # when pushed to main + - if: $CI_COMMIT_TAG + - if: $CI_PIPELINE_SOURCE == "merge_request_event" + # only: + # - main CompatHelper: image: julia:1.10 # Set to the Julia version you want to use stage: test # You can place this in any stage that makes sense for your setup