mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
docs: only deploy production docs for main and release branches
This commit is contained in:
+4
-1
@@ -342,7 +342,10 @@ deploy_docs_preview:
|
||||
deploy_docs_production:
|
||||
extends:
|
||||
- .deploy_docs_template
|
||||
when: always
|
||||
only:
|
||||
refs:
|
||||
- main
|
||||
- /^release\/v.*$/
|
||||
variables:
|
||||
TYPE: "preview"
|
||||
DOCS_BUILD_DIR: "${CI_PROJECT_DIR}/docs/_build/"
|
||||
|
||||
Reference in New Issue
Block a user