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:
paths:
- documentation/design/documentation.pdf
documentation:static:
.mdbook_common: &rust
before_script:
- cargo install mdbook
image:
name: rust
name: rustdocker/rust:stable
stage: documentation
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
script:
- mdbook build ./documentation/ --dest-dir public
cache:
paths:
- target
documentation:static:
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
artifacts:
paths:
- public
expire_in: 1 week
<<: *rust
documentation:test:
before_script:
- cargo install mdbook
image:
name: rust
stage: documentation
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
script:
- ls
- ls documentation
- mdbook build ./documentation/ --dest-dir public
cache:
paths:
- target
<<: *rust
sast:
variables:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment