CI: build docs after test; publish docs after build (#7591)

docs time test/build success on master pub
This commit is contained in:
Denis Pisarev
2020-11-25 09:48:10 +01:00
committed by GitHub
parent e3608da5fa
commit 3e6a26c329
+5 -1
View File
@@ -471,7 +471,9 @@ build-rust-doc:
stage: build
<<: *docker-env
<<: *test-refs
allow_failure: true
needs:
- job: test-linux-stable
artifacts: false
variables:
<<: *default-vars
RUSTFLAGS: -Dwarnings
@@ -677,6 +679,8 @@ publish-s3-doc:
needs:
- job: build-rust-doc
artifacts: true
- job: build-linux-substrate
artifacts: false
<<: *build-refs
<<: *kubernetes-build
variables: