title: Continuous Deployment not working
body: <p>I need to continually build a <a href="https://github.com/facebook/create-react-app" rel="nofollow noreferrer"><code>create-react-app</code></a> application and deploy it to Amazon S3 bucket.</p>
  
  <p>I have written the following CircleCi <code>config.yml</code>: </p>
  
  <pre><code>version: 2
  jobs:
    build:
      docker:
        - image: circleci/node:7.10
      steps:
        - checkout
        - run: npm install
        - run: npm run build
  deployment:
    prod:
      branch: circle-config-test
      commands: 
        - aws s3 sync build/ s3://http://www.typing-coacher.net.s3-website.eu-central-1.amazonaws.com/ --delete
  </code></pre>
  
  <p><em>What I think should happens:</em></p>
  
  <ol>
  <li>I have a docker container, I install the application, build it and the files are resting ready in <code>build</code> folder.</li>
  <li>I am <a href="https://circleci.com/docs/1.0/continuous-deployment-with-amazon-s3/" rel="nofollow noreferrer">running the command</a> listed in CircleCi docs and the build files are moving from the docker machine to s3 bucket. </li>
  </ol>
  
  <blockquote>
    <p>To deploy a project to S3, you can use the following command in the
    deployment section of circle.yml:</p>
    
    <p><code>aws s3 sync &lt;path-to-files&gt; s3://&lt;bucket-URL&gt; --delete</code></p>
  </blockquote>
  
  <p><em>What actually happens:</em> </p>
  
  <p>Application is being install and build files are being created, but nothing happen with deployment. it doesn't even appear on the builds console.</p>
  
  <p>What Am i missing?</p>