Skip to content

Commit 537beb1

Browse files
authored
Updated travis.yml with github pages #25
1 parent 200b48d commit 537beb1

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.travis.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,17 @@ cache:
88
- "node_modules"
99
before_script:
1010
- npm run build
11-
script: npm run test:coveralls
11+
script:
12+
- npm run test:coveralls
13+
before_deploy:
14+
- npm install --global typedoc
15+
- typedoc --out ts-docs src
16+
deploy:
17+
provider: pages
18+
skip_cleanup: true
19+
keep-history: true
20+
local_dir: ts-docs
21+
github_token: $GITHUB_TOKEN
22+
on:
23+
branch: master
24+

0 commit comments

Comments
 (0)