language: node_js
node_js:
  - "10.7.0"

script:
  # run linter and check to make sure TypeScript can build the source code
  - npm test

before_deploy:
  # build the docs for the API
  - npm run docs
  # file to tell GitHub pages not to try to run jekyll stuff (can break urls)
  - touch docs/.nojekyll

deploy:
  provider: pages
  skip-cleanup: true
  verbose: true
  local-dir: api-docs/
  github-token: $GH_TOKEN
  on:
    branch: master

language: node_js
node_js:
  - "10.7.0"

script:
  # run linter and check to make sure TypeScript can build the source code
  - npm test

before_deploy:
  # build the docs for the API
  - npm run docs
  # file to tell GitHub pages not to try to run jekyll stuff (can break urls)
  - touch docs/.nojekyll

deploy:
  provider: pages
  skip-cleanup: true
  verbose: true
  local-dir: docs/
  github-token: $GH_TOKEN
  on:
    branch: master

Fix Travis CI deploy directory
Fix Travis CI deploy directory
