Always build docs
This commit is contained in:
parent
8bf24cf34b
commit
cc95bfafda
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue