add deploy folder

Former-commit-id: 63166d41786adf5f106be68a25fa0806031f653c
Former-commit-id: 68429e65dde743b4b3bb538e720adf3c10a29182
Former-commit-id: e44b22d97cb60806dddd05fc6bd3313c9eeefddc
Former-commit-id: 97f4158a538fec2ba207da2e76711f287cb6471d [formerly 6929fd90d71c3271d3063776d19ebc395b264392]
Former-commit-id: 1870931841bc9df676505c235a7463c8846c4459
Former-commit-id: 84171b5d0a5c7145b4b1e1e010d4c7af44efdf24
Former-commit-id: 1add4eef08b3e2350f7c207a19b06c938a1301c9
Former-commit-id: 91340971bd5bf3edcc6da13dc0d2bd97587250d6
Former-commit-id: 3a068c0b834c30b7b8785f5ecd65fa9bf902ae1c
This commit is contained in:
FairyEver
2019-11-25 23:45:16 +08:00
parent 446dceab71
commit 54a4de91a7
5 changed files with 14 additions and 22 deletions

View File

@@ -20,6 +20,6 @@ before_install:
- export PATH=$HOME/.yarn/bin:$PATH
after_success:
- ./qshell account $AK $SK liyang
- ./qshell qupload qiniu-config
- ./qshell cdnrefresh --dirs -i cdnrefresh-dirs.txt
- ./deploy/qshell account $AK $SK liyang
- ./deploy/qshell qupload ./deploy/upload.conf
- ./deploy/qshell cdnrefresh --dirs -i ./deploy/cdnrefresh.txt

11
deploy/upload.conf Normal file
View File

@@ -0,0 +1,11 @@
{
"src_dir" : "/home/travis/build/d2-projects/d2-admin/dist",
"bucket" : "fairyever-site",
"key_prefix" : "d2-admin/preview/",
"ignore_dir" : false,
"overwrite" : true,
"check_exists" : true,
"check_hash" : true,
"check_size" : true,
"rescan_local" : true
}

View File

@@ -1,19 +0,0 @@
{
"src_dir" : "/home/travis/build/d2-projects/d2-admin/dist",
"bucket" : "fairyever-site",
"key_prefix" : "d2-admin/preview/",
"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
}