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

Update .documentation-ci.yml

parent 5ea846c2
Branches
No related tags found
2 merge requests!90Develop,!53V.0.1.0 Codename Threadbare
Pipeline #55617 passed
...@@ -18,23 +18,20 @@ documentation:pdf: ...@@ -18,23 +18,20 @@ documentation:pdf:
- documentation/design/documentation.pdf - documentation/design/documentation.pdf
.mdbook_common: &rust .mdbook_common: &rust
before_script: image:
- cargo install mdbook name: $CI_REGISTRY/danet/internetworking/mdbook:latest
image: entrypoint:
name: rust:latest - ''
stage: deploy stage: deploy
script: script:
- mdbook build documentation --dest-dir public - mdbook build documentation --dest-dir public
cache:
paths:
- /root/.cargo/
documentation:static: documentation:static:
rules: rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
artifacts: artifacts:
paths: paths:
- documentation/public - public
expire_in: 1 week expire_in: 1 week
<<: *rust <<: *rust
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment