message: WIP: try publishing docs
diff: @@ -66,8 +66,34 @@ jobs:
  path: /home/circleci/.npm/_logs/
  destination: ~/npm_logs/
  + deploy:
  + docker:
  + - image: circleci/node:latest-browsers
  + working_directory: ~/ci-build
  + steps:
  + - run:
  + name: Install awscli
  + command: sudo pip install awscli
  + - run:
  + name: Generate Documentation
  + command: yarn run docs
  + - run:
  + name: Deploy to S3
  + command: aws s3 sync docs s3://uilibrary-demo.terminus.ninja/${CIRCLE_BRANCH}/ --delete
  +workflows:
  + version: 2
  + build-deploy:
  + jobs:
  + - build
  + - deploy:
  + requires:
  + - build
  + #filters:
  + #branches:
  + #only: master
  +
  # HACK: This will allow tags to kick off the deploy process. Correct syntax support is coming soon:
  # https://discuss.circleci.com/t/git-tag-deploys-in-2-0/9493/8
  @@ -76,4 +102,3 @@ deployment:
  tag: /.*/
  commands:
  - echo "make tags run in 2.0"
  -
  