1
0
Fork 0

ci: disable docs and pages

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2022-12-04 22:15:45 +01:00
parent da7c05bd1b
commit 6199872dcd
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

@ -59,23 +59,23 @@ cargo-coverage:
coverage_format: cobertura
path: coverage.xml
cargo-doc:
stage: test
needs: ["cargo-test"]
script:
- cargo doc --no-deps --all-features
# cargo-doc:
# stage: test
# needs: ["cargo-test"]
# script:
# - cargo doc --no-deps --all-features
pages:
stage: test
needs: [ "cargo-test" ]
script:
- cargo doc --no-deps --all-features
- cp -R target/doc/ ./public
artifacts:
paths:
- 'public'
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
# pages:
# stage: test
# needs: [ "cargo-test" ]
# script:
# - cargo doc --no-deps --all-features
# - cp -R target/doc/ ./public
# artifacts:
# paths:
# - 'public'
# rules:
# - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
# lint-code:
# stage: extras