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


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 deploy

Add demo deployment to CircleCI
Add demo deployment to CircleCI

In order to simplify life we want to automatically publish the latest
HEAD of master to the project's gh-pages branch to show off the work.
