Merge branch 'ci/renable_deploy_docs_production' into 'master'

CI: Renable deploy_docs_production

See merge request espressif/esp-idf!11075
This commit is contained in:
Ivan Grokhotkov 2020-11-06 20:15:37 +08:00
commit 64c5b64996

View File

@ -86,24 +86,24 @@ deploy_docs_preview:
DOCS_DEPLOY_PATH: "$DOCS_PATH"
DOCS_DEPLOY_URL_BASE: "https://$CI_DOCKER_REGISTRY/docs/esp-idf"
## deploy docs to production webserver
#deploy_docs_production:
# # The DOCS_PROD_* variables used by this job are "Protected" so these branches must all be marked "Protected" in Gitlab settings
# extends:
# - .deploy_docs_template
# - .rules:protected-no_label
# stage: post_deploy
# needs: # ensure runs after push_to_github succeeded
# - build_docs_html
# - build_docs_pdf
# - push_to_github
# variables:
# TYPE: "preview"
# DOCS_DEPLOY_PRIVATEKEY: "$DOCS_PROD_DEPLOY_KEY"
# DOCS_DEPLOY_SERVER: "$DOCS_PROD_SERVER"
# DOCS_DEPLOY_SERVER_USER: "$DOCS_PROD_SERVER_USER"
# DOCS_DEPLOY_PATH: "$DOCS_PROD_PATH"
# DOCS_DEPLOY_URL_BASE: "https://docs.espressif.com/projects/esp-idf"
# deploy docs to production webserver
deploy_docs_production:
# The DOCS_PROD_* variables used by this job are "Protected" so these branches must all be marked "Protected" in Gitlab settings
extends:
- .deploy_docs_template
- .rules:protected-no_label
stage: post_deploy
needs: # ensure runs after push_to_github succeeded
- build_docs_html
- build_docs_pdf
- push_to_github
variables:
TYPE: "preview"
DOCS_DEPLOY_PRIVATEKEY: "$DOCS_PROD_DEPLOY_KEY"
DOCS_DEPLOY_SERVER: "$DOCS_PROD_SERVER"
DOCS_DEPLOY_SERVER_USER: "$DOCS_PROD_SERVER_USER"
DOCS_DEPLOY_PATH: "$DOCS_PROD_PATH"
DOCS_DEPLOY_URL_BASE: "https://docs.espressif.com/projects/esp-idf"
deploy_test_result:
extends: