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

问题描述

情况

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

成功

  • 添加了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

解决方法

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