From cc0775388f73480af223ce60660893eb19784b2c Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Fri, 9 Nov 2018 18:13:07 +0200 Subject: [PATCH] CI: Build docs and deploy them with gitlab pages --- .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ad39907b7..d21429392 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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'