-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
36 lines (30 loc) · 768 Bytes
/
.travis.yml
File metadata and controls
36 lines (30 loc) · 768 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: node_js
node_js:
- "10"
cache: npm
notifications:
email:
recipients:
- ishacker.net@gmail.com # 设置通知邮件
on_success: change
on_failure: always
install:
- npm install -g gitbook-cli
- gitbook install
script:
- cd docs # into /docs folder
- gitbook install # install plugins
- gitbook build
after_script:
- cd _book
- git init
- git remote add origin https://${GH_REF}
- git add .
- git commit -m ":rocket:Updated By Travis-CI With Build $TRAVIS_BUILD_NUMBER For Github Pages"
- git push --force --quiet "https://${TF_STUDYNOTE_TOKEN}@${GH_REF}" master:gh-pages
branches:
only:
- master
env:
global:
- GH_REF: github.com/YUbuntu0109/awesome-tensorflow-tutorial.git # 设置 github 地址