ci: disable docs and pages
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
da7c05bd1b
commit
6199872dcd
1 changed files with 16 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue