Skip to content
Snippets Groups Projects
Commit c2b300e1 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

first try mdbook

parent 033d30c4
No related branches found
No related tags found
2 merge requests!54Resolve "Restructure Project Directory Structure",!52Mdbook
......@@ -4,7 +4,7 @@ variables:
stages:
- test
- compliance
- build
- doc
before_script:
- git config --global url."https://$GO_MODULES_USER:$GO_MODULES_ACCESS_TOKEN@code.fbi.h-da.de".insteadOf "https://code.fbi.h-da.de"
......@@ -41,7 +41,7 @@ code-quality:
paths:
- gl-code-quality-report.json
Documentation:
documentation:pdf:
before_script:
- pwd
image:
......@@ -60,6 +60,32 @@ Documentation:
paths:
- documentation/design/documentation.pdf
documentation:static:
before_script:
- cargo install mdbook
image:
name: rust/latest
stage: doc
rules:
- if: $CI_DEFAULT_BRANCH
script:
- mdbook build documentation/design --dest-dir public
artifacts:
paths:
- public
expire_in: 1 week
documentation:test:
before_script:
- cargo install mdbook
image:
name: rust/latest
stage: doc
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
script:
- mdbook build documentation/design --dest-dir public
sast:
variables:
SAST_ANALYZER_IMAGE_TAG: '2'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment