We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af071d7 commit d980ecfCopy full SHA for d980ecf
.travis.yml
@@ -5,10 +5,6 @@ language: node_js
5
node_js:
6
- "4"
7
8
-# cache:
9
-# directories:
10
-# - node_modules
11
-
12
install:
13
- npm install gitbook-cli -g
14
- gitbook install
@@ -17,9 +13,11 @@ before_script:
17
- mkdir -p "${TRAVIS_BUILD_DIR}"/build
18
19
15
script:
20
- - gitbook build . "${TRAVIS_BUILD_DIR}"/build
21
16
- env | sort
22
- - |
+ - gitbook build . "${TRAVIS_BUILD_DIR}"/build
+
+after_success:
+ - |
23
if [[ "${TRAVIS_BRANCH}" == master && "${TRAVIS_PULL_REQUEST}" == false ]]; then
24
# Commits to master that are not pull requests, that is, only
25
# actual addition of code to master, should deploy the book to
0 commit comments