迁移到圆形

时间:2018-09-24 08:08:26

标签: amazon-web-services circleci circleci-2.0

我使用过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

0 个答案:

没有答案