deployment:
  production:
    branch: master
    commands:
      - bundle exec cap production deploy

  staging:
    branch: dev
    commands:
      - bundle exec cap staging deploy

machine:
  node:
    version: 0.10.28

deployment:
  dev:
    branch: dev
    commands:
      - bundle exec cap production deploy
      - bundle exec cap staging deploy

machine:
  node:
    version: 0.10.28

Deploy both staging and production from DEV branch
Deploy both staging and production from DEV branch
