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