I have rails app with two branches master
, staging
I have deployed with master to elasticbeanstalk successfully, and created another environment for staging and want to deploy staging branch when I do eb deploy it always takin master code to staging envb as well (I have downloaded zip from s3 which was shipped to staging env)
eb version - 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
I have no idea what's going on spent too many hours on it please suggest somehting to solve this??
eb branch
these command do not work as its new version of eb cli
I am deploying code from my local git