From a33298c3ce3cfaa8afbe2266769acd0886a22999 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Mon, 11 May 2020 01:39:49 +0200 Subject: [PATCH] CI: Use GitLab pages to publish coverage reports --- .gitlab-ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index beafaf96..2c5fa438 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -180,6 +180,24 @@ build-release-file: - rsync -vAax "${DOCROOT}" "${DOCROOT}/.babelrc" "${DOCROOT}/.browserslistrc" release/ - rsync -vAax public/assets release/public/ +pages: + image: node:alpine + stage: release + dependencies: + - test + script: + - rm -rf public + - mv coverage public + - cp unittests.xml public/ + artifacts: + expire_in: 1 week + paths: + - public + only: + - master + variables: + GIT_STRATEGY: none + # # Deploy staging #