Commit 8252e0f6 authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

Merge branch 'rhtenhove-main-patch-23498' into 'beta'

ci: pages test build

See merge request just-ci/templates!15
parents 1e8d7e09 bd37ec1f
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -25,3 +25,16 @@ pages:
      - public
  rules:
    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH

pages:test:
  extends: pages
  stage: test
  after_script:
    - mv public test
    - echo "[!] When browing the test job artifacts you may not see the full final result when opening an HTML file, as the built site may reference absolute or canonified URLs."
  artifacts:
    paths:
      - test
    when: always
  rules:
    - if: '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH'