Skip to content

Commit

Permalink
Merge branch 'fix/fix_docs_release_ci' into 'main'
Browse files Browse the repository at this point in the history
fix(ci): fix conditions for uploading docs

See merge request espressif/esp-zigbee-sdk!80
  • Loading branch information
chshu committed Dec 14, 2023
2 parents 796eb80 + b6bfaac commit f50a2c3
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,19 +139,11 @@ pytest_esp32c6_i154_zigbee_multi_dut:
tags:
- deploy_docs

deploy_docs_preview:
extends:
- .deploy_docs_template
variables:
TYPE: "preview"
DOCS_BUILD_DIR: "${CI_PROJECT_DIR}/docs/_build/"
DOCS_DEPLOY_PRIVATEKEY: "$DOCS_PREVIEW_DEPLOY_KEY"
DOCS_DEPLOY_SERVER: "$DOCS_PREVIEW_SERVER"
DOCS_DEPLOY_SERVER_USER: "$DOCS_PREVIEW_SERVER_USER"
DOCS_DEPLOY_PATH: "$DOCS_PREVIEW_PATH"
DOCS_DEPLOY_URL_BASE: "https://$DOCS_PREVIEW_SERVER_URL/docs/esp-zigbee-sdk"

deploy_docs_production:
only:
- main
- /^release\/v/
- /^v\d+\.\d+/
extends:
- .deploy_docs_template
variables:
Expand Down

0 comments on commit f50a2c3

Please sign in to comment.