esp-idf/tools/ci/config/post_deploy.yml
Fu Hanxi 3026d562ec add README.md to explain how to add/modify jobs/rules/ifs
- rename existing labels to fit the naming convention
2020-10-26 10:25:21 +08:00

42 lines
1.0 KiB
YAML

.check_doc_links_template:
extends: .rules:protected
stage: post_deploy
image: $ESP_IDF_DOC_ENV_IMAGE
tags: [ "build", "amd64", "internet" ]
artifacts:
when: always
paths:
- docs/_build/*/*/*.txt
- docs/_build/*/*/linkcheck/*.txt
expire_in: 1 week
allow_failure: true
dependencies: []
script:
- cd docs
- ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh -p 3.6.10 pip install -r requirements.txt
- ${IDF_PATH}/tools/ci/multirun_with_pyenv.sh -p 3.6.10 ./build_docs.py -l $DOCLANG -t $DOCTGT linkcheck
check_doc_links_en_esp32:
extends: .check_doc_links_template
variables:
DOCLANG: "en"
DOCTGT: "esp32"
check_doc_links_en_esp32s2:
extends: .check_doc_links_template
variables:
DOCLANG: "en"
DOCTGT: "esp32s2"
check_doc_links_zh_CN_esp32:
extends: .check_doc_links_template
variables:
DOCLANG: "zh_CN"
DOCTGT: "esp32"
check_doc_links_zh_CN_esp32s2:
extends: .check_doc_links_template
variables:
DOCLANG: "zh_CN"
DOCTGT: "esp32s2"