Publish API documentation to gh-pages on every push to develop

This commit is contained in:
David Collins 2017-11-08 14:35:35 -08:00
parent e5660f2412
commit aa84b7703c

View File

@ -14,6 +14,13 @@ script:
# Deploy build artifacts. Travis does not invoke this step for pull request builds
deploy:
# Publish API documentation to GitHub Pages
- provider: pages
github_token: $GITHUB_API_KEY
local_dir: dist/api-doc
skip_cleanup: true
on:
branch: develop
# Publish release artifacts to the npm repository
- provider: npm
email: $NPM_EMAIL