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:
parent
3329df29c3
commit
1d80034641
17
.travis.yml
17
.travis.yml
|
|
@ -1,5 +1,6 @@
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js: stable
|
node_js: stable
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- "node_modules"
|
- "node_modules"
|
||||||
|
|
@ -11,11 +12,11 @@ branches:
|
||||||
script:
|
script:
|
||||||
- npm run build:travis
|
- npm run build:travis
|
||||||
|
|
||||||
deploy:
|
before_install:
|
||||||
provider: pages
|
- ./qshell account $AK $SK
|
||||||
local-dir: dist
|
- curl -o- -L https://yarnpkg.com/install.sh | bash
|
||||||
skip-cleanup: true
|
- export PATH=$HOME/.yarn/bin:$PATH
|
||||||
github-token: $GITHUB_TOKEN
|
|
||||||
keep-history: true
|
after_success:
|
||||||
on:
|
- ./qshell qupload qiniu-config
|
||||||
branch: master
|
- ./qshell cdnrefresh -dirs cdnrefresh-dirs.txt
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
http://d2admin.fairyever.com/
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
"src_dir" : "/home/travis/build/d2-projects/d2-admin/dist",
|
||||||
|
"bucket" : "d2-admin",
|
||||||
|
"ignore_dir" : false,
|
||||||
|
"overwrite" : true,
|
||||||
|
"check_exists" : true,
|
||||||
|
"check_hash" : true,
|
||||||
|
"check_size" : true,
|
||||||
|
"rescan_local" : true,
|
||||||
|
"skip_file_prefixes" : "test,demo,",
|
||||||
|
"skip_path_prefixes" : "hello/,temp/",
|
||||||
|
"skip_fixed_strings" : ".svn,.git",
|
||||||
|
"skip_suffixes" : ".DS_Store,.exe",
|
||||||
|
"log_file" : "upload.log",
|
||||||
|
"log_level" : "info",
|
||||||
|
"log_rotate" : 1,
|
||||||
|
"log_stdout" : false
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
fd53ac81035ca2b6e7b5252caed08eff24e23002
|
||||||
Loading…
Reference in New Issue