我正在尝试将circleci 1.0迁移到2.0, 我得到了这个错误。 “构建”作业中:步骤不是列表 有人可以帮我什么原因吗?
version: 2
jobs:
build:
docker:
- image: circleci/ruby:2.2.3-jessie
environment:
AWS_REGION: eu-central-1
steps:
- checkout
- run: echo "Tests are skipped because of static site."
- run: mkdir -p /tmp/test-data
deploy:
production:
branch: master
commands:
- bundle exec middleman s3_sync
答案 0 :(得分:0)
下面阵列的identation steps
似乎是关闭。试试这个:
steps:
- checkout
- run: echo "Tests are skipped because of static site."
- run: mkdir -p /tmp/test-data