CI: run build_docs_preview only with the label

pull/6192/head
Fu Hanxi 2020-11-11 10:27:27 +08:00 zatwierdzone przez bot
rodzic 0fb65d0bae
commit c600a6d840
2 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -71,7 +71,7 @@ push_to_github:
deploy_docs_preview:
extends:
- .deploy_docs_template
- .rules:labels:build_docs-slim
- .rules:labels:build_docs-preview
# Override default stage to happen before the post_check
stage: test_deploy
needs:

Wyświetl plik

@ -134,6 +134,10 @@
- <<: *if-protected-no_label
- <<: *if-label-build_docs
.rules:labels:build_docs-preview:
rules:
- <<: *if-label-build_docs
.rules:labels:weekend_test-only:
rules:
- <<: *if-label-weekend_test