1 Star 0 Fork 0

Sshwy / notes

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.travis.yml 797 Bytes
一键复制 编辑 原始数据 按行查看 历史
Sshwy 提交于 2020-04-25 13:15 . init
language: node_js # 设置语言
node_js: stable # 设置相应版本
cache:
before_install:
- npm install hexo-cli -g
install:
- npm install # 安装hexo及插件
script:
- hexo clean # 清除
- hexo g # 生成
after_script:
- git clone https://${GH_REF} .deploy_git
- cd .deploy_git
- git checkout master
- cd ../
- mv .deploy_git/.git/ ./public/
- cd ./public
- git config user.name "sshwy"
- git config user.email "jy.cat@qq.com"
- git add .
- git commit -m "Travis CI Auto Builder"
- git push --force --quiet "https://${Travis_token}@${GH_REF}" master:master
branches:
only:
- hexo # 只监测hexo分支
env:
global:
- GH_REF: github.com/sshwy/backup.git #设置GH_REF,注意更改成自己的仓库地址
1
https://gitee.com/sshwy/notes.git
git@gitee.com:sshwy/notes.git
sshwy
notes
notes
master

搜索帮助