Skip to content

Commit cf88fb8

Browse files
committed
Automatically publish docs via Travis
1 parent 53ecec8 commit cf88fb8

11 files changed

+14
-91
lines changed

.travis.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,16 @@ cache: yarn
77

88
script:
99
- yarn build-lib
10-
- ./node_modules/.bin/ng test demo --progress false --watch=false --browsers ChromeHeadlessCustom
1110
- ./node_modules/.bin/ng test fab-speed-dial --progress false --watch=false --browsers ChromeHeadlessCustom
11+
- ./node_modules/.bin/ng test demo --progress false --watch=false --browsers ChromeHeadlessCustom
12+
- yarn build-docs
13+
- yarn lint
14+
15+
deploy:
16+
provider: pages
17+
skip-cleanup: true
18+
local-dir: dist/demo
19+
github-token: $GITHUB_TOKEN
20+
on:
21+
all_branches: true
22+
condition: $TRAVIS_BRANCH =~ ^master|develop$

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ yarn add @ecodev/fab-speed-dial
5454
The most useful commands for development are:
5555

5656
- `yarn dev` to start a development server
57-
- `yarn build-docs` to build and commit (but not push) the docs/demo page
57+
- `yarn build-docs` to build the docs locally (it will be published automatically by Travis)
5858
- `yarn release` to publish the lib to npm
5959

6060
## TODO List

docs/3rdpartylicenses.txt

Lines changed: 0 additions & 69 deletions
This file was deleted.

docs/assets/github-circle-transparent.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/favicon.ico

-5.3 KB
Binary file not shown.

docs/index.html

Lines changed: 0 additions & 14 deletions
This file was deleted.

docs/main.4d93cf002b374f83bbf1.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/polyfills.2903ad11212d7d797800.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/runtime.6afe30102d8fe7337431.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/styles.a87942fc54efe7ca8fee.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)