diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a237bfc49659f..9d878a0920b2a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -463,30 +463,6 @@ build-macos-subkey: tags: - osx -build-rust-doc: - stage: build - <<: *docker-env - <<: *test-refs - needs: - - job: test-linux-stable - artifacts: false - variables: - <<: *default-vars - RUSTFLAGS: -Dwarnings - artifacts: - name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}-doc" - when: on_success - expire_in: 7 days - paths: - - ./crate-docs/ - script: - - rm -f ./crate-docs/index.html # use it as an indicator if the job succeeds - - SKIP_WASM_BUILD=1 RUSTDOCFLAGS="--html-in-header $(pwd)/.maintain/rustdoc-header.html" - time cargo +nightly doc --no-deps --workspace --all-features --verbose - - mv ./target/doc ./crate-docs - - echo "" > ./crate-docs/index.html - - sccache -s - #### stage: publish .build-push-docker-image: &build-push-docker-image