From aa84b7703c23b7e8fc275fc8ea8ec0dd33b5fd39 Mon Sep 17 00:00:00 2001 From: David Collins Date: Wed, 8 Nov 2017 14:35:35 -0800 Subject: [PATCH] Publish API documentation to gh-pages on every push to develop --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index da442526..9cfb16da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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