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 coverage_format: cobertura
path: coverage.xml path: coverage.xml
cargo-doc: # cargo-doc:
stage: test # stage: test
needs: ["cargo-test"] # needs: ["cargo-test"]
script: # script:
- cargo doc --no-deps --all-features # - cargo doc --no-deps --all-features
pages: # pages:
stage: test # stage: test
needs: [ "cargo-test" ] # needs: [ "cargo-test" ]
script: # script:
- cargo doc --no-deps --all-features # - cargo doc --no-deps --all-features
- cp -R target/doc/ ./public # - cp -R target/doc/ ./public
artifacts: # artifacts:
paths: # paths:
- 'public' # - 'public'
rules: # rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH # - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
# lint-code: # lint-code:
# stage: extras # stage: extras