From 09c8777c221af5f545283644c72eb1d0f122a38f Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Mon, 2 Nov 2020 17:07:27 +0800 Subject: [PATCH] Renable deploy_docs_production --- tools/ci/config/deploy.yml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/tools/ci/config/deploy.yml b/tools/ci/config/deploy.yml index 31b236604a..5ebcdb2844 100644 --- a/tools/ci/config/deploy.yml +++ b/tools/ci/config/deploy.yml @@ -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: