Add docs build
This commit is contained in:
parent
1d571d7910
commit
93d3a55a1c
|
|
@ -7,6 +7,7 @@ before_script:
|
|||
|
||||
stages:
|
||||
- build
|
||||
- doc
|
||||
- publish
|
||||
|
||||
libostree-sys:
|
||||
|
|
@ -49,6 +50,17 @@ libostree_nightly:
|
|||
- cargo test --verbose --package libostree
|
||||
allow_failure: true
|
||||
|
||||
# docs
|
||||
pages:
|
||||
stage: doc
|
||||
script:
|
||||
- cargo doc --verbose --all-features
|
||||
- cp -r target/doc public
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
only:
|
||||
- master
|
||||
|
||||
# publish
|
||||
publish_libostree-sys:
|
||||
|
|
|
|||
Loading…
Reference in New Issue