Skip to content
Ofer Skolsky edited this page Oct 5, 2020 · 1 revision

Special notes on YAML

github:
  token: ${GITHUB_TOKEN}
  configAsCode: cx.configuration
  
ast:
  apiUrl: \"http://this.is.just.an.example\"
  token: ${AST_TOKEN}
  preset: true
  incremental: false

unlike normal yaml files, the configuration can have variables,
The variables are resoved as follow:

  • ${XXX} - will be resolved to the system environment variable with the name XXX. ex. ${AST_TOKEN}
  • ${path.in.config} - will be resolved to the value inside the configuration. ex. ${ast.preset} is true
  • \"TEST\" - TEST is a value that sould not be resoved. ex. \"this is a normal text with special characters like $ and { \"
Clone this wiki locally