From 74092bc06a67c56ab90bf7ddc94a1d7deb7ab94d Mon Sep 17 00:00:00 2001 From: Wataru Otsubo Date: Fri, 20 Sep 2024 14:32:14 +0200 Subject: [PATCH 1/2] Update .gitlab-ci.yml file to change `pages` pipeline trigger rule --- .gitlab-ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 From c359fcc1578e21ebde511343184dbb8a1fcfaef0 Mon Sep 17 00:00:00 2001 From: Wataru Otsubo Date: Fri, 20 Sep 2024 14:36:31 +0200 Subject: [PATCH 2/2] Update .gitlab-ci.yml file to inspect build artifacts --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5400f06..6fa9538 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,6 +34,8 @@ pages: using PSBoardDataBase doctest(PSBoardDataBase) include("docs/make.jl")' + - ls -R + - tree - mkdir -p public - mv docs/build public/dev artifacts: