ci: add automatic publishing of documentation

This commit is contained in:
Wieland Schöbl
2019-07-03 13:30:04 +02:00
committed by Rainer Killinger
parent 684d52c917
commit fc4f16ac44

View File

@@ -4,6 +4,7 @@ stages:
- build
- test
- publish
- deploy
build:
stage: build
@@ -38,6 +39,17 @@ audit:
tags:
- docker
pages:
stage: deploy
script:
- npm run documentation
- mv docs public
only:
- /^v[0-9]+\.[0-9]+\.[0-9]+$/
artifacts:
paths:
- public
scheduled-audit:
stage: test
script:
@@ -171,14 +183,3 @@ custom:gi-u:
custom:ks-ug:
<<: *publish_template_manual
publish:pages:
stage: publish
script:
- npm run documentation
- mv docs public
only:
- /^v[0-9]+\.[0-9]+\.[0-9]+$/
artifacts:
paths:
- public