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

mdbook

parent f0e4d9e1
No related branches found
No related tags found
2 merge requests!54Resolve "Restructure Project Directory Structure",!52Mdbook
Pipeline #52684 failed
...@@ -59,33 +59,34 @@ documentation:pdf: ...@@ -59,33 +59,34 @@ documentation:pdf:
paths: paths:
- documentation/design/documentation.pdf - documentation/design/documentation.pdf
documentation:static: .mdbook_common: &rust
before_script: before_script:
- cargo install mdbook - cargo install mdbook
image: image:
name: rust name: rustdocker/rust:stable
stage: documentation stage: documentation
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
script: script:
- mdbook build ./documentation/ --dest-dir public - mdbook build ./documentation/ --dest-dir public
cache:
paths:
- target
documentation:static:
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
artifacts: artifacts:
paths: paths:
- public - public
expire_in: 1 week expire_in: 1 week
<<: *rust
documentation:test: documentation:test:
before_script:
- cargo install mdbook
image:
name: rust
stage: documentation
rules: rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
script: cache:
- ls paths:
- ls documentation - target
- mdbook build ./documentation/ --dest-dir public <<: *rust
sast: sast:
variables: variables:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment