Aws codedeploy failing

circle.yml
#1

Hi,
I am new to circleci, when I run this config file deployment does not happen. please go through below URL and find the solution.
https://circleci.com/gh/toopukondabhaskar/S3ContinuousDeploy/106#config/containers/0

version: 2
jobs:
build:
docker:
- image: circleci/ruby:2.4
working_directory: ~/tmp/S3ContinuousDeploy
steps:
- checkout
- run: cd ~/tmp/S3ContinuousDeploy/; zip -r …/zipped_dir3.zip *

compress:
machine:
enabled: true
working_directory: ~/tmp/S3ContinuousDeploy
steps:
- checkout
- run:
command: |
cd ~/tmp/S3ContinuousDeploy/; zip -r …/zipped_dir3.zip *
sudo apt-get update && sudo apt-get install nginx -y
- run:
sudo pip install awscli
- run:
aws s3 sync ~/tmp s3://s3awscirclecidemo --delete
deployment:
staging:
branch: master
codedeploy:
circlecidemo:
deployment_group: sample
workflows:
version: 2
workflow:
jobs:
- build
- compress
- deployment

#2

The errors you are getting are likely due to indenting. http://www.yamllint.com/ is a good tool to help locate and fix those errors.

#3

Please edit your post here and add code formatting using the Markdown tool provided. Readers will usually be happy to check your indentation, but we cannot do that if we cannot see the indentation.