general:
  branches:
    ignore:
      - gh-pages
machine:
  environment:
    PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"

dependencies:
  override:
    - circleci/get-latest-chrome.sh
    - yarn global add npm
    - yarn
  cache_directories:
    - ~/.cache/yarn

test:
  override:
    - yarn test

deployment:
  demo:
    branch: master
    commands:
      - git config --global user.name "CircleCI"
      - git config --global user.email "bryan.craig.stephens@gmail.com"
      - yarn deploy

general:
  branches:
    ignore:
      - gh-pages
machine:
  environment:
    PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"

dependencies:
  override:
    - circleci/get-latest-chrome.sh
    - yarn global add npm
    - yarn
  cache_directories:
    - ~/.cache/yarn

test:
  override:
    - yarn test

deployment:
  demo:
    branch: master
    commands:
      - yarn build
      - git config --global user.name "CircleCI"
      - git config --global user.email "bryan.craig.stephens@gmail.com"
      - yarn deploy

Build deployable artifacts for deploy step
Build deployable artifacts for deploy step

We need the actual deployment artifacts in order to push them up to the
gh-pages.
