Always build docs

This commit is contained in:
Felix Krull authored and Colin Walters committed 2022-05-06 12:53:53 -04:00
1 parent 8bf24cf34b
commit cc95bfafda
1 file changed
+12 -5
+12 -5
View File
@@ -7,7 +7,7 @@ before_script:
stages:
- build
- doc
- docs
- publish
libostree-sys:
@@ -39,10 +39,18 @@ libostree_nightly:
allow_failure: true
# docs
pages:
stage: doc
docs:
stage: docs
script:
- cargo doc --verbose --features dox,lgpl-docs
artifacts:
paths:
- target/doc
# publish
pages:
stage: publish
script:
- cp -r target/doc public
artifacts:
paths:
@@ -50,11 +58,10 @@ pages:
only:
- master
# publish
publish_libostree-sys:
stage: publish
script:
- cargo publish --verbose --manifest-path libostree-sys/Cargo.toml --token $CRATES_IO_TOKEN
- cargo publish --verbose --manifest-path libostree-sys/Cargo.toml --token $CRATES_IO_TOKEN
when: manual
publish_libostree: