Update .gitlab-ci.yml file to change pages pipeline trigger rule

This commit is contained in:
Wataru Otsubo 2024-09-20 14:32:14 +02:00
parent 320ed3a285
commit 74092bc06a

View file

@ -39,8 +39,13 @@ pages:
artifacts: artifacts:
paths: paths:
- public - public
only: rules:
- main # 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: CompatHelper:
image: julia:1.10 # Set to the Julia version you want to use 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 stage: test # You can place this in any stage that makes sense for your setup