mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-10 19:52:53 +00:00
ci: add automatic publishing of documentation
This commit is contained in:
committed by
Rainer Killinger
parent
684d52c917
commit
fc4f16ac44
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user