Add docs build

This commit is contained in:
Felix Krull authored and Colin Walters committed 2022-05-06 12:53:53 -04:00
1 parent 1d571d7910
commit 93d3a55a1c
1 file changed
+12
+12
View File
@@ -7,6 +7,7 @@ before_script:
stages: stages:
- build - build
- doc
- publish - publish
libostree-sys: libostree-sys:
@@ -49,6 +50,17 @@ libostree_nightly:
- cargo test --verbose --package libostree - cargo test --verbose --package libostree
allow_failure: true 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
publish_libostree-sys: publish_libostree-sys: