dependencies:
  post:
    - npm run deploy
deployment:
  prod:
    branch: master
    commands:
      - aws s3 sync dist s3://snapflixapp.com --delete

dependencies:
  post:
    - npm run deploy
deployment:
  staging:
    branch: master
    commands:
      - aws s3 sync dist s3://staging.snapflixapp.com --delete
  production:
    branch: production
    commands:
      - aws s3 sync dist s3://snapflixapp.com --delete

Set up autodeploy for staging
Set up autodeploy for staging
