Hi there, I have an app that is used with 2 environments, 1 for web and the other for background workers.
The background workers are deployed using AWS CodeDeploy and the web is managed using Elastic Beanstalk.
I am trying to deploy to both at the same time using Circle CI however it doesn’t seem to work.
Here is an example of my deployment section of my circle.yml file:
deployment:
production:
branch: master
codedeploy:
Surevybot:
application_root: /
revision_location:
revision_type: S3
s3_location:
bucket: bucket-name
key_pattern: apps/appname-{SHORT_COMMIT}-{BUILD_NUM}
region: us-west-2
deployment_group: group-name
deployment_config: CodeDeployDefault.OneAtATime
commands:
- eb use env-name --profile default
- eb deploy --profile default
The Code deploy deployment runs without any issues but the web workers aren’t running. Is it possible to do this? If not any recommendations on how to setup a deployment for this?