1 Star 1 Fork 71

mgbin / pytorch-doc-zh

forked from OpenDocCN / pytorch-doc-zh 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.travis.yml 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
片刻小哥哥 提交于 2019-09-17 17:52 . 更新 PyTorch V1.2 新特性
language: node_js # 构建所需的语言环境
node_js:
- "v10.16.0" # 对应的版本
branches:
only:
- master # 构建的分支
cache:
directories:
- node_modules # 依赖缓存的目录
- docs/0.2/node_modules # 依赖缓存的目录
- docs/0.3/node_modules # 依赖缓存的目录
- docs/0.4/node_modules # 依赖缓存的目录
- docs/1.0/node_modules # 依赖缓存的目录
- docs/LatestChanges/node_modules # 依赖缓存的目录
install:
- npm install -g gitbook-cli # 安装编译工具
- gitbook fetch 3.2.3 # 安装 Gitbook 子版本
script:
- sh run_website.sh
after_script:
- cd _book
- git init
- git config user.name ${GH_UN}
- git config user.email ${GH_EMAIL}
- git add -A
- git commit -am "$(date "+%Y-%m-%d %H:%M:%S")"
- git push "https://${GH_TOKEN}@github.com/${GH_USER}/${GH_REPO}.git" master:${GH_BRANCH} -f
env:
global:
- GH_UN=jiangzhonglian
- GH_EMAIL=jiang-s@163.com
- GH_USER=apachecn
- GH_REPO=pytorch-doc-zh
- GH_BRANCH=gh-pages
1
https://gitee.com/mgb/pytorch-doc-zh.git
git@gitee.com:mgb/pytorch-doc-zh.git
mgb
pytorch-doc-zh
pytorch-doc-zh
master

搜索帮助