首页 > 解决方案 > 部署到 circle-ci 时无法解析 config.yml 文件中的 YAML

问题描述

情况

成功

失败

这是我的回购

错误

!/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

标签: yamlconfigcirclecilint

解决方案


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


推荐阅读