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