CI: Use GitLab pages to publish coverage reports

This commit is contained in:
Igor Scheller 2020-05-11 01:39:49 +02:00 committed by msquare
parent 9e507eda66
commit a33298c3ce
1 changed files with 18 additions and 0 deletions

View File

@ -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
#