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: 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,11 +58,10 @@ pages:
only: only:
- master - master
# publish
publish_libostree-sys: publish_libostree-sys:
stage: publish stage: publish
script: 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 when: manual
publish_libostree: publish_libostree: