Verified Commit 8f42fcc3 authored by Jordan Petridis's avatar Jordan Petridis 🌱

pages: Publish docs and mdbook with Gitlab Pages.

parent ee390147
Pipeline #7661 passed with stages
in 8 minutes and 45 seconds
stages:
- test
- lint
- pages
.cargo_test_template: &cargo_test
stage: test
......@@ -47,3 +48,21 @@ nightly:test:
- rustc -Vv && cargo -Vv
- cargo fmt --version
- cargo fmt --all -- --write-mode=diff
pages:
# https://hub.docker.com/r/rustlang/rust/
image: "rustlang/rust:nightly"
stage: pages
script:
- mkdir public
- cargo install mdbook --no-default-features
- mdbook build ./doc-internals
- cp -r ./doc-internals/book/* ./public
- find $PWD/public | grep "\.html\$"
artifacts:
paths:
- public
only:
- master
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment