Merge branch 'hotfix/cdn'
Former-commit-id: 1023c2bde63d87cc0730aabbc2e61a212cd8a630 [formerly 1023c2bde63d87cc0730aabbc2e61a212cd8a630 [formerly 1023c2bde63d87cc0730aabbc2e61a212cd8a630 [formerly 1023c2bde63d87cc0730aabbc2e61a212cd8a630 [formerly 4c151e72d77cf68e470cfa0a2b3bef93ed514fe9 [formerly 64ee2bec4cc680ab20803c3bef7199893e5642ab]]]]] Former-commit-id: a3e8bf0930447c58d59ea64aaae748833e34bf97 Former-commit-id: 1c3f05490849b320dce8064ce57a931e57d9f326 Former-commit-id: 56e6a2751ff36f571e821523cc33f552ad010094 [formerly 2d708cd74c166b10c4a4b3bb06a9976cc453377a] Former-commit-id: 2e2e355ae9573b511c1cb1d59b0934484ea6ad5f Former-commit-id: 9ebb4163c7cacedff620893273c69aaa42637b90 Former-commit-id: f43a9ede3474f7d1ced0014f2f9b97279a779794 Former-commit-id: 34d67ce7ff755b8f20abf2458da64ccceb72be80 Former-commit-id: d7befb8bfac87c5611d356e78057e4d28b47b669
This commit is contained in:
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
|
||||
1
cdnrefresh-dirs.txt
Normal file
1
cdnrefresh-dirs.txt
Normal file
@@ -0,0 +1 @@
|
||||
http://d2admin.fairyever.com/
|
||||
18
qiniu-config
Normal file
18
qiniu-config
Normal file
@@ -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
|
||||
}
|
||||
1
qshell.REMOVED.git-id
Normal file
1
qshell.REMOVED.git-id
Normal file
@@ -0,0 +1 @@
|
||||
fd53ac81035ca2b6e7b5252caed08eff24e23002
|
||||
Reference in New Issue
Block a user