.travis.yml 338 B

123456789101112131415
  1. # Deploy to GitHub pages on commites to master
  2. # 1. Copy README.md to dist/index.md
  3. # 2. Push dist/ directory to gh-pages branch
  4. script:
  5. - mkdir -p dist
  6. - cp README.md dist/index.md
  7. deploy:
  8. provider: pages
  9. skip-cleanup: true
  10. github-token: $GH_TOKEN
  11. keep-history: true
  12. local-dir: dist
  13. on:
  14. branch: wip-deploy-gh-pages