added travis doc deployment solution

This commit is contained in:
Dolan
2017-04-16 01:12:42 +01:00
parent 5be1163549
commit 0ede54cfdc

View File

@ -7,4 +7,11 @@ install:
script:
- npm test
after_failure:
- "cat /home/travis/builds/dolanmiu/docx/npm-debug.log"
- "cat /home/travis/builds/dolanmiu/docx/npm-debug.log"
after_success:
- git checkout gh-pages
- git merge master
- npm run typedoc
- git add .
- git commit -a -m 'updated documentation'
- git push