if [ "${CI_COMMIT_BRANCH}" = "${CI_DEFAULT_BRANCH}" ]; then
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."
fi
artifacts:
paths:
-public
rules:
-if:$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
pages:test:
extends:pages
stage:test
after_script:
-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