Deploy to CodeDeploy alongside other commands

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?

(If that is a YAML file, please edit your post to format it in a code block, so the indentation and formatting can be seen. There is tool in the editor toolbar for this purpose. Thanks.)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.