CI setting update

Former-commit-id: 8c132cda293860ae9455efd76780d8235954cbf9 [formerly 8c132cda293860ae9455efd76780d8235954cbf9 [formerly 8c132cda293860ae9455efd76780d8235954cbf9 [formerly 8c132cda293860ae9455efd76780d8235954cbf9 [formerly e1fc7f01a34d73f4cbf3585bba07e119a7c9edba [formerly ef21ea8f017d1771f07fec1c2d85ed6d85efa0dc]]]]]
Former-commit-id: e312709cf2363da7ab6c19e51933c9d89748fc4e
Former-commit-id: 9338bea56f6d91a90b75dd682fd5da41b4dfab59
Former-commit-id: 6fa547861a969bdfed447d8f869871b361ea4571 [formerly 29ea57ff2586b0e6cae3f8c3e35953793f2d2ef8]
Former-commit-id: b3d307718571288bdfb7f96c412ab9722c636768
Former-commit-id: 5c3e60ab7ae8c527d9113de944c93ecb1d927806
Former-commit-id: e42bb5b53554ab05620be83de57d4a38bbbda088
Former-commit-id: 328ae19ecc6279471bdc26639aa81b56079f93d3
Former-commit-id: e7baa65366b0c120138dea10e1398adf59f9f7d2
This commit is contained in:
liyang
2018-10-23 13:51:40 +08:00
parent 3329df29c3
commit 1d80034641
4 changed files with 29 additions and 8 deletions

View File

@@ -1,5 +1,6 @@
language: node_js
node_js: stable
cache:
directories:
- "node_modules"
@@ -11,11 +12,11 @@ branches:
script:
- npm run build:travis
deploy:
provider: pages
local-dir: dist
skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: true
on:
branch: master
before_install:
- ./qshell account $AK $SK
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
after_success:
- ./qshell qupload qiniu-config
- ./qshell cdnrefresh -dirs cdnrefresh-dirs.txt