Always build docs

This commit is contained in:
Felix Krull 2018-10-18 01:37:50 +02:00 committed by Colin Walters
parent 8bf24cf34b
commit cc95bfafda
1 changed files with 12 additions and 5 deletions

View File

@ -7,7 +7,7 @@ before_script:
stages: stages:
- build - build
- doc - docs
- publish - publish
libostree-sys: libostree-sys:
@ -39,10 +39,18 @@ libostree_nightly:
allow_failure: true allow_failure: true
# docs # docs
pages: docs:
stage: doc stage: docs
script: script:
- cargo doc --verbose --features dox,lgpl-docs - cargo doc --verbose --features dox,lgpl-docs
artifacts:
paths:
- target/doc
# publish
pages:
stage: publish
script:
- cp -r target/doc public - cp -r target/doc public
artifacts: artifacts:
paths: paths:
@ -50,7 +58,6 @@ pages:
only: only:
- master - master
# publish
publish_libostree-sys: publish_libostree-sys:
stage: publish stage: publish
script: script: