CI: Build docs and deploy them with gitlab pages

This commit is contained in:
Jordan Petridis 2018-11-09 18:13:07 +02:00 committed by Guillaume Desmottes
parent 466e0901bb
commit cc0775388f

View file

@ -311,3 +311,19 @@ outdated:
- schedules
script:
- cargo outdated --root-deps-only --exit-code 1 -v
pages:
extends: .img-stable
stage: 'deploy'
script:
- |
for crate in gstreamer*; do
cd $crate
cargo doc --features --features=dox,embed-lgpl-docs
cd ..
done
- mv target/doc public/
when: 'manual'
artifacts:
paths:
- 'public'