add pages to gitlab.yml

This commit is contained in:
Philipp Kunz 2016-05-30 07:05:17 +02:00
parent 85ac242627
commit 3434bbf815

View File

@ -3,6 +3,7 @@ image: hosttoday/ht-docker-node
stages: stages:
- test - test
- release - release
- page
testLTS: testLTS:
stage: test stage: test
@ -26,3 +27,17 @@ release:
- tags - tags
tags: tags:
- docker - docker
page:
stage: page
script:
- npmci test lts
- mkdir .public
- cp -r coverage/ .public
- cp -r docs/ .public
- mv .public public
artifacts:
paths:
- public
only:
- master