cache:
  mount:
    - node_modules
build:
  image: node:wheezy
  commands:
    - npm install --unsafe-perm
    - npm run build
branches:
  - master
  - develop

cache:
  mount:
    - node_modules
build:
  image: node:wheezy
  commands:
    - npm install --unsafe-perm
    - npm run build

deploy:
  ssh:
    host: hoogit.ca
    user: use
    port: 22
    commands:
      - echo docker restart powerhour-staging
    when:
      branch: develop
  ssh:
    host: hoogit.ca
    user: use
    port: 22
    commands:
      - echo docker restart powerhour
    when:
      branch: master
branches:
  - master
  - develop

Add deploy to build file
Add deploy to build file
