CI setting update
This commit is contained in:
parent
450dd38709
commit
813b11d78c
17
.travis.yml
17
.travis.yml
|
|
@ -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
|
||||
|
|
@ -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
|
||||
}
|
||||
Loading…
Reference in New Issue