From 844b9ab2ec500622cc1fc5f672e18fc2734c8ff8 Mon Sep 17 00:00:00 2001 From: Dolan Date: Wed, 21 Feb 2018 21:34:43 +0000 Subject: [PATCH] Update travis for docs --- .travis.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4b017739b1..d40b50f5b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,8 +18,16 @@ script: after_failure: - "cat /home/travis/builds/dolanmiu/docx/npm-debug.log" after_success: - - bash ./deploy-docs.sh + #- bash ./deploy-docs.sh + - npm run typedoc env: global: - ENCRYPTION_LABEL: "ad385fa3b525" - +deploy: + provider: pages + skip-cleanup: true + github-token: $GITHUB_TOKEN + keep-history: true + local-dir: docs + on: + branch: master