Skip to content
Permalink
Browse files

CI setting update

  • Loading branch information...
FairyEver committed Oct 23, 2018
1 parent 450dd38 commit 813b11d78cf8c522091d01f9e633a543b31579e3
Showing with 28 additions and 8 deletions.
  1. +9 −8 .travis.yml
  2. +1 −0 cdnrefresh-dirs.txt
  3. +18 −0 qiniu-config
  4. BIN qshell
@@ -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
}
BIN +8.11 MB qshell
Binary file not shown.

0 comments on commit 813b11d

Please sign in to comment.
You can’t perform that action at this time.