代码之家  ›  专栏  ›  技术社区  ›  Vishal G

是否允许从不同的分支rails部署到不同的环境?

  •  0
  • Vishal G  · 技术社区  · 8 年前

    master , staging

    我已成功地将master部署到elasticbeanstalk,并创建了另一个用于登台的环境,并希望在我部署eb时部署登台分支,它始终将主代码带入登台环境(我已从s3下载了zip,并将其发送到登台环境)

    eb版本-eb CLI 3.14.3(Python 2.7.1)

    branch-defaults:
      master:
        environment: Backend-Production
      staging:
        environment: Backend--Staging
    global:
      application_name: DGL-Backend
      default_ec2_keyname: aws-eb
      default_platform: arn:aws:elasticbeanstalk:us-east-1::platform/Puma with Ruby 2.5
        running on 64bit Amazon Linux/2.8.2
      default_region: us-east-1
      include_git_submodules: true
      instance_profile: null
      platform_name: null
      platform_version: null
      profile: eb-cli
      sc: git
      workspace_type: Application
    

    我不知道发生了什么,花了太多时间在上面,请提出一些解决方法??

    eb branch 这些命令与其新版本的eb cli不兼容

    我正在从本地git部署代码

    0 回复  |  直到 8 年前