我正在尝试将 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