script: yarn build
language: node_js
node_js:
  - "12.18"
install:
  - yarn
test:
  - yarn lint
  - yarn build
deploy:
  local_dir: out
  provider: pages
  fqdn: koodiklinikka.fi
  skip_cleanup: true
  github_token: "$GITHUB_TOKEN"
  repo: koodiklinikka/koodiklinikka.github.io
  target_branch: master
  on:
    branch: master
