docs: generate docs and publish them on gitlab pages

Closes #38
This commit is contained in:
Jovan Krunić
2019-03-04 11:55:30 +01:00
parent 584878d950
commit 11be564c8a
4 changed files with 1808 additions and 53 deletions

View File

@@ -4,6 +4,7 @@ stages:
- setup
- build
- test
- docs
setup:
image: registry.gitlab.com/openstapps/projectmanagement/builder
@@ -31,8 +32,6 @@ build:
paths:
- node_modules
- www
tags:
- docker
unit:
stage: test
@@ -41,19 +40,24 @@ unit:
artifacts:
paths:
- coverage
tags:
- docker
e2e:
stage: test
script:
- npm run e2e
tags:
- docker
audit:
stage: test
script:
- npm audit
tags:
- docker
pages:
stage: docs
script:
- npm run documentation
- mv docs public
only:
- master
artifacts:
paths:
- public