.travis.yml 337 B

123456789101112131415161718
  1. language: node_js
  2. node_js:
  3. - "12"
  4. script:
  5. - npm run build
  6. env:
  7. global:
  8. - COMMIT_AUTHOR_EMAIL: "[email protected]"
  9. deploy:
  10. provider: pages
  11. skip-cleanup: true
  12. github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
  13. keep-history: true
  14. local-dir: out
  15. on:
  16. branch: master