我使用过circle.yml
脚本,该脚本将代码上传到服务器。现在,我已更新为circleci 2.0
,并在此部分遇到了麻烦。我需要放在哪里?
deployment:
production:
branch: production
commands:
- bash ./deploy_prod.sh
- eb deploy test-production
staging:
branch: master
commands:
- bash ./deploy_staging.sh
- eb deploy test-dev