Merge branch 'bugfix/ci_push_to_github_on_label' into 'master'

ci: Don't push to Github or deploy docs on customized pipelines

See merge request espressif/esp-idf!8870
This commit is contained in:
Angus Gratton 2020-05-29 12:43:00 +08:00
commit 7cbdc3ea66

View file

@ -53,9 +53,12 @@ push_to_github:
tags:
- deploy
only:
- master
- /^release\/v/
- /^v\d+\.\d+(\.\d+)?($|-)/
refs:
- master
- /^release\/v/
- /^v\d+\.\d+(\.\d+)?($|-)/
variables:
- $BOT_TRIGGER_WITH_LABEL == null
when: on_success
dependencies: []
extends: .before_script_lesser
@ -124,6 +127,8 @@ deploy_docs_production:
- master
- /^release\/v/
- /^v\d+\.\d+(\.\d+)?($|-)/
variables:
- $BOT_TRIGGER_WITH_LABEL == null
variables:
TYPE: "preview"
DOCS_DEPLOY_PRIVATEKEY: "$DOCS_PROD_DEPLOY_KEY"