Skip to content
Snippets Groups Projects
Verified Commit 5dacba9e authored by Eduardo Trujillo's avatar Eduardo Trujillo
Browse files

feat(gitlab-ci): Add pages docs task

parent 34c0ca96
No related branches found
No related tags found
No related merge requests found
Pipeline #253 failed
......@@ -66,3 +66,24 @@ rust-nightly-clippy:
<<: *rust_template
script:
- cargo clippy --all --verbose -- -D warnings
pages:
stage: build
image: rustlang/rust:nightly
needs:
- rust-nightly
cache:
key: "$CI_COMMIT_REF_SLUG"
paths:
- cargo/
- target/
policy: pull
<<: *rust_template
script:
- cargo doc
- rm -rf public
- mkdir public
- cp -R target/doc/* public
artifacts:
paths:
- public
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment