no message
Former-commit-id: 6c1c1d575c50ca1820c44615fa1ec6470d89b9ca
This commit is contained in:
+9
-8
@@ -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 @@
|
|||||||
|
https://start-kit.d2admin.fairyever.com/
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"src_dir" : "/home/travis/build/d2-projects/d2-admin-start-kit/dist",
|
||||||
|
"bucket" : "d2-admin-start-kit",
|
||||||
|
"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
|
||||||
+1
-1
@@ -8,7 +8,7 @@ function resolve (dir) {
|
|||||||
// 基础路径 注意发布之前要先修改这里
|
// 基础路径 注意发布之前要先修改这里
|
||||||
let baseUrl = '/'
|
let baseUrl = '/'
|
||||||
// 演示项目自动构建使用
|
// 演示项目自动构建使用
|
||||||
if (process.env.VUE_APP_TRAVIS === 'TRUE') baseUrl = '/d2-admin-start-kit/'
|
if (process.env.VUE_APP_TRAVIS === 'TRUE') baseUrl = '/'
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
baseUrl: baseUrl, // 根据你的实际情况更改这里
|
baseUrl: baseUrl, // 根据你的实际情况更改这里
|
||||||
|
|||||||
Reference in New Issue
Block a user