Commit bd37ec1f authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

ci: pages test build

parent 0fb3e5fd
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'