部署迁移
Former-commit-id: e9468a0d6a8654278f3cfb952ee7e93a7aeaa091
This commit is contained in:
+4
-1
@@ -3,8 +3,11 @@
|
||||
# 指定构建模式
|
||||
NODE_ENV=production
|
||||
|
||||
# 标记当前是 CI 自动构建
|
||||
# 标记当前构建方式
|
||||
VUE_APP_BUILD_MODE=TRAVIS
|
||||
|
||||
# 显示源码按钮
|
||||
VUE_APP_SCOURCE_LINK=TRUE
|
||||
|
||||
# 部署路径
|
||||
VUE_APP_PUBLIC_PATH=/d2-admin-start-kit/preview/
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
https://start-kit.d2admin.fairyever.com/
|
||||
https://fairyever.com/d2-admin-start-kit/preview/
|
||||
+2
-1
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"src_dir" : "/home/travis/build/d2-projects/d2-admin-start-kit/dist",
|
||||
"bucket" : "d2-admin-start-kit",
|
||||
"bucket" : "fairyever-site",
|
||||
"key_prefix" : "d2-admin-start-kit/preview/",
|
||||
"ignore_dir" : false,
|
||||
"overwrite" : true,
|
||||
"check_exists" : true,
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ process.env.VUE_APP_VERSION = require('./package.json').version
|
||||
process.env.VUE_APP_BUILD_TIME = require('dayjs')().format('YYYY-M-D HH:mm:ss')
|
||||
|
||||
// 基础路径 注意发布之前要先修改这里
|
||||
let publicPath = '/'
|
||||
let publicPath = process.env.VUE_APP_PUBLIC_PATH || '/'
|
||||
|
||||
module.exports = {
|
||||
// 根据你的实际情况更改这里
|
||||
|
||||
Reference in New Issue
Block a user