部署到circle-ci时无法解析config.yml文件中的YAML

时间:2020-11-02 07:38:01

标签: yaml config circleci lint

情况

  • 我的个人项目中出现配置处理错误

成功

  • 我添加了AWS s3和CloudFront,并且在circle-ci上部署成功

失败

  • 我添加了引起错误的棉绒,但我没有将Tab t用于 缩进

这是我的repo

错误

!/bin/sh -eo pipefail
 Unable to parse YAML
 while scanning for the next token
 found character '\\t(TAB)' that cannot start any token. (Do not use \\t(TAB) for indentation)
  in 'string', line 57, column 34:
           - *show-current-branch-name\t
                                      ^
 
 -------
 Warning: This configuration was auto-generated to show you the message above.
 Don't rerun this job. Rerunning will have no effect.
false

1 个答案:

答案 0 :(得分:1)

第57行的末尾有一个TAB字符。将其删除,它应该通过。