ci: only run check_doc_links job if we actually deployed docs

This commit is contained in:
Marius Vikhammer
2023-03-06 11:44:20 +08:00
parent af805df3cb
commit 8df8723e76

View File

@@ -212,8 +212,12 @@ deploy_docs_production:
check_doc_links: check_doc_links:
extends: extends:
- .build_docs_template - .build_docs_template
- .rules:protected rules:
- <<: *if-protected-no_label
stage: post_deploy stage: post_deploy
needs:
- job: deploy_docs_production
artifacts: false
tags: ["build", "amd64", "internet"] tags: ["build", "amd64", "internet"]
artifacts: artifacts:
when: always when: always