|
|
@ -12,7 +12,7 @@ module.exports = { |
|
|
|
ref: 'origin/main', |
|
|
|
repo: 'git@git.zhlh6.cn:newbee-ltd/vue3-admin.git', |
|
|
|
path: '/workspace/vue3-admin', |
|
|
|
'post-deploy': 'git reset --hard && git checkout main && git pull && npm i --production=false && npm run build:release && pm2 startOrReload ecosystem.config.js', // -production=false 下载全量包
|
|
|
|
'post-deploy': 'git reset --hard && git checkout main && git pull && npm i --production=false && pm2 startOrReload ecosystem.config.js', // -production=false 下载全量包
|
|
|
|
env: { |
|
|
|
NODE_ENV: 'production' |
|
|
|
} |
|
|
|